1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00

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
This commit is contained in:
rfelker 2005-02-24 16:52:18 +00:00
parent e6819bc591
commit 1361d53817

View File

@ -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