wineqtdecoder: Include cbAlign in the requested buffer size.

This commit is contained in:
Aric Stewart 2012-01-16 11:35:13 -06:00 committed by Alexandre Julliard
parent 2ea8f8a4a0
commit 40220e7205
1 changed files with 1 additions and 1 deletions

View File

@ -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;