# HG changeset patch # User rfelker # Date 1040196872 0 # Node ID ac40496c7d9e4a37abb92b4aaf24efdcb6edf5be # Parent 2dd791127398ff22c449951cb163f0558afe31eb 1000l! I have no idea how this code worked at all before. I guess no one tests win32 much anyway... :) diff -r 2dd791127398 -r ac40496c7d9e libvo/vo_directx.c --- a/libvo/vo_directx.c Tue Dec 17 10:38:48 2002 +0000 +++ b/libvo/vo_directx.c Wed Dec 18 07:34:32 2002 +0000 @@ -996,7 +996,7 @@ { uint8_t *s; uint8_t *d; - uint32_t i=0; + uint32_t i=0, uvstride=dstride/2; // copy Y d=image+dstride*y+x; @@ -1004,29 +1004,29 @@ for(i=0;i