mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +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 New Issue
Block a user