[MPlayer-cvslog] CVS: main/libmpcodecs mp_image.h,1.29,1.30

Richard Felker CVS syncmail at mplayerhq.hu
Thu Feb 24 17:52:21 CET 2005


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv1080/libmpcodecs

Modified Files:
	mp_image.h 
Log Message:
stride must be signed! otherwise negative stride is broken on 64bit systems

Index: mp_image.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/mp_image.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- mp_image.h	22 Dec 2003 17:26:19 -0000	1.29
+++ mp_image.h	24 Feb 2005 16:52:18 -0000	1.30
@@ -79,7 +79,7 @@
     int width,height;  // stored dimensions
     int x,y,w,h;  // visible dimensions
     unsigned char* planes[MP_MAX_PLANES];
-    unsigned int stride[MP_MAX_PLANES];
+    int stride[MP_MAX_PLANES];
     char * qscale;
     int qstride;
     int pict_type; // 0->unknown, 1->I, 2->P, 3->B




More information about the MPlayer-cvslog mailing list