diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-02-24 17:05:34 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-02-24 17:05:34 +0000 |
commit | aa2ba2b5c3c574ab0949765c59b6efb4c340abdb (patch) | |
tree | 624c4801ea004c6535ac27628b708893a6e22111 /libmpcodecs | |
parent | ecaea5368cf5239c67a6be6976a06d5e3c15a57b (diff) |
100l to me: bugfix for negative stride
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14795 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_halfpack.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmpcodecs/vf_halfpack.c b/libmpcodecs/vf_halfpack.c index 900aed6a9c..f01728a7fd 100644 --- a/libmpcodecs/vf_halfpack.c +++ b/libmpcodecs/vf_halfpack.c @@ -20,12 +20,12 @@ struct vf_priv_s { #ifdef HAVE_MMX static void halfpack_MMX(unsigned char *dst, unsigned char *src[3], - unsigned int dststride, unsigned int srcstride[3], + int dststride, int srcstride[3], int w, int h) { int j; unsigned char *y1, *y2, *u, *v; - unsigned int dstinc, yinc, uinc, vinc; + int dstinc, yinc, uinc, vinc; y1 = src[0]; y2 = src[0] + srcstride[0]; @@ -107,12 +107,12 @@ static void halfpack_MMX(unsigned char *dst, unsigned char *src[3], static void halfpack_C(unsigned char *dst, unsigned char *src[3], - unsigned int dststride, unsigned int srcstride[3], + int dststride, int srcstride[3], int w, int h) { int i, j; unsigned char *y1, *y2, *u, *v; - unsigned int dstinc, yinc, uinc, vinc; + int dstinc, yinc, uinc, vinc; y1 = src[0]; y2 = src[0] + srcstride[0]; @@ -140,7 +140,7 @@ static void halfpack_C(unsigned char *dst, unsigned char *src[3], } static void (*halfpack)(unsigned char *dst, unsigned char *src[3], - unsigned int dststride, unsigned int srcstride[3], int w, int h); + int dststride, int srcstride[3], int w, int h); static int put_image(struct vf_instance_s* vf, mp_image_t *mpi) |