Skip to content
Snippets Groups Projects
Commit 40220e72 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard
Browse files

wineqtdecoder: Include cbAlign in the requested buffer size.

parent 2ea8f8a4
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment