Module: wine Branch: master Commit: 40220e7205f16eba941613b37bef2c309c252592 URL: http://source.winehq.org/git/wine.git/?a=commit;h=40220e7205f16eba941613b37b...
Author: Aric Stewart aric@codeweavers.com Date: Mon Jan 16 11:35:13 2012 -0600
wineqtdecoder: Include cbAlign in the requested buffer size.
---
dlls/wineqtdecoder/qtvdecoder.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wineqtdecoder/qtvdecoder.c b/dlls/wineqtdecoder/qtvdecoder.c index 553a486..3690087 100644 --- a/dlls/wineqtdecoder/qtvdecoder.c +++ b/dlls/wineqtdecoder/qtvdecoder.c @@ -492,7 +492,7 @@ static HRESULT WINAPI QTVDecoder_DecideBufferSize(TransformFilter *tf, IMemAlloc ppropInputRequest->cbAlign = 1;
if (ppropInputRequest->cbBuffer < This->outputSize) - ppropInputRequest->cbBuffer = This->outputSize; + ppropInputRequest->cbBuffer = This->outputSize + ppropInputRequest->cbAlign;
if (!ppropInputRequest->cBuffers) ppropInputRequest->cBuffers = 1;