Skip to content
Snippets Groups Projects
Commit 6efcd9d8 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Compile fix.

parent 3cc18e72
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment