Compile fix.

This commit is contained in:
Alexandre Julliard 1999-10-31 02:33:21 +00:00
parent 3cc18e72be
commit 6efcd9d857
1 changed files with 2 additions and 2 deletions

View File

@ -245,12 +245,12 @@ HRESULT (WINAPI *fnAVIStreamGetFrameClose)(PGETFRAME pg);
}
/* Argh. AVIs are upside down. */
for (i=0;i<dsdesc.dwHeight;i++) {
memcpy( dsdesc.y.lpSurface+(i*dsdesc.lPitch),
memcpy( dsdesc.u1.lpSurface+(i*dsdesc.lPitch),
decodedbits+bytesline*(dsdesc.dwHeight-i-1),
bytesline
);
}
IDirectDrawSurface_Unlock(dsurf,dsdesc.y.lpSurface);
IDirectDrawSurface_Unlock(dsurf,dsdesc.u1.lpSurface);
}
tend = time(NULL);
fnAVIStreamGetFrameClose(vidgetframe);