Commit cf2c506b authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msvf32: Fixed incorrect sizeof (Coverity).

parent ff1bd6da
...@@ -1373,7 +1373,7 @@ LPVOID VFWAPI ICSeqCompressFrame(PCOMPVARS pc, UINT uiFlags, LPVOID lpBits, BOOL ...@@ -1373,7 +1373,7 @@ LPVOID VFWAPI ICSeqCompressFrame(PCOMPVARS pc, UINT uiFlags, LPVOID lpBits, BOOL
icComp->lFrameNum = pc->lFrame++; icComp->lFrameNum = pc->lFrame++;
icComp->lpOutput = pc->lpBitsOut; icComp->lpOutput = pc->lpBitsOut;
icComp->lpPrev = pc->lpBitsPrev; icComp->lpPrev = pc->lpBitsPrev;
ret = ICSendMessage(pc->hic, ICM_COMPRESS, (DWORD_PTR)icComp, sizeof(icComp)); ret = ICSendMessage(pc->hic, ICM_COMPRESS, (DWORD_PTR)icComp, sizeof(*icComp));
if (icComp->dwFlags & AVIIF_KEYFRAME) if (icComp->dwFlags & AVIIF_KEYFRAME)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment