changeset 14792:6c12ee26fab9

stride must be signed! otherwise negative stride is broken on 64bit systems
author rfelker
date Thu, 24 Feb 2005 16:52:18 +0000
parents df515839c8a9
children 44fbb21a4eba
files libmpcodecs/mp_image.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/mp_image.h	Thu Feb 24 16:48:18 2005 +0000
+++ b/libmpcodecs/mp_image.h	Thu Feb 24 16:52:18 2005 +0000
@@ -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