[MPlayer-cvslog] r33530 - trunk/libmpcodecs/vf_dint.c

reimar subversion at mplayerhq.hu
Mon May 30 23:25:32 CEST 2011


Author: reimar
Date: Mon May 30 23:25:32 2011
New Revision: 33530

Log:
Fix code assuming that "char" is signed.

Modified:
   trunk/libmpcodecs/vf_dint.c

Modified: trunk/libmpcodecs/vf_dint.c
==============================================================================
--- trunk/libmpcodecs/vf_dint.c	Mon May 30 23:16:37 2011	(r33529)
+++ trunk/libmpcodecs/vf_dint.c	Mon May 30 23:25:32 2011	(r33530)
@@ -81,10 +81,10 @@ static int config (struct vf_instance *v
 
 static int put_image (struct vf_instance *vf, mp_image_t *mpi, double pts)
 {
-    char rrow0[MAXROWSIZE];
-    char rrow1[MAXROWSIZE];
-    char rrow2[MAXROWSIZE];
-    char *row0 = rrow0, *row1 = rrow1, *row2 = rrow2/*, *row3 = rrow3*/;
+    int8_t rrow0[MAXROWSIZE];
+    int8_t rrow1[MAXROWSIZE];
+    int8_t rrow2[MAXROWSIZE];
+    int8_t *row0 = rrow0, *row1 = rrow1, *row2 = rrow2/*, *row3 = rrow3*/;
     int rowsize = mpi->width;
     uint32_t nok = 0, max = vf->priv->max;
     int diff = vf->priv->diff;


More information about the MPlayer-cvslog mailing list