mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 16:53:37 +00:00
avifil32: Fix use of wrong variable in expression.
This commit is contained in:
parent
3b9f88555f
commit
f2a0f05082
|
@ -1339,7 +1339,7 @@ static HRESULT WINAPI IAVIStream_fnWriteData(IAVIStream *iface, DWORD fcc,
|
|||
|
||||
/* ckid,size => 2 * sizeof(DWORD) */
|
||||
dwPos += 2 * sizeof(DWORD) + size;
|
||||
if (size >= This->paf->dwMoviChunkPos - 2 * sizeof(DWORD))
|
||||
if (dwPos >= This->paf->dwMoviChunkPos - 2 * sizeof(DWORD))
|
||||
return AVIERR_UNSUPPORTED; /* not enough space left */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue