wineqtdecoder: Include cbAlign in the requested buffer size.
This commit is contained in:
parent
2ea8f8a4a0
commit
40220e7205
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue