[MPlayer-cvslog] CVS: main/libmpcodecs vf_halfpack.c,1.6,1.7
Richard Felker CVS
syncmail at mplayerhq.hu
Thu Feb 24 18:05:37 CET 2005
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv16790/libmpcodecs
Modified Files:
vf_halfpack.c
Log Message:
100l to me: bugfix for negative stride
Index: vf_halfpack.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_halfpack.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vf_halfpack.c 21 Oct 2004 11:55:19 -0000 1.6
+++ vf_halfpack.c 24 Feb 2005 17:05:34 -0000 1.7
@@ -20,12 +20,12 @@
#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_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)(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)
More information about the MPlayer-cvslog
mailing list