From aa2ba2b5c3c574ab0949765c59b6efb4c340abdb Mon Sep 17 00:00:00 2001 From: rfelker Date: Thu, 24 Feb 2005 17:05:34 +0000 Subject: 100l to me: bugfix for negative stride git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14795 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_halfpack.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libmpcodecs') 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) -- cgit v1.2.3