summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-24 16:52:18 +0000
committerrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-24 16:52:18 +0000
commit1361d538173330b3a9e211dbf886edd4b697d873 (patch)
tree38508f15e14c2eb7465b633b56c20996c1438dd2 /libmpcodecs
parente6819bc591fc5049cdcc1152f68ca8053b115486 (diff)
downloadmpv-1361d538173330b3a9e211dbf886edd4b697d873.tar.bz2
mpv-1361d538173330b3a9e211dbf886edd4b697d873.tar.xz
stride must be signed! otherwise negative stride is broken on 64bit systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14793 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/mp_image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/mp_image.h b/libmpcodecs/mp_image.h
index 7edfb8477e..39dd0cdc26 100644
--- a/libmpcodecs/mp_image.h
+++ b/libmpcodecs/mp_image.h
@@ -79,7 +79,7 @@ typedef struct mp_image_s {
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