[MPlayer-cvslog] CVS: main/libmpcodecs ve_xvid4.c,1.16,1.17

Ivan Kalvachev CVS syncmail at mplayerhq.hu
Mon Jun 6 19:27:48 CEST 2005


CVS change done by Ivan Kalvachev CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv5345

Modified Files:
	ve_xvid4.c 
Log Message:
gcc-2.95.3 fix, patch inspired by Steven M. Schultz

Index: ve_xvid4.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_xvid4.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ve_xvid4.c	4 Jun 2005 20:54:49 -0000	1.16
+++ ve_xvid4.c	6 Jun 2005 17:27:46 -0000	1.17
@@ -1069,6 +1069,7 @@
 		for(i = 0; p; i++)
 		{
         		int start;
+        		int q;
 			double value;
 			char mode;
         		int e = sscanf(p, "%d,%c,%lf", &start, &mode, &value); // start,mode(q = constant quant, w = weight),value
@@ -1077,7 +1078,7 @@
 	    			mp_msg(MSGT_MENCODER,MSGL_ERR, "error parsing zones\n");
             		return(BAD);
         		}
-			int q = (int)(value * 100);
+			q = (int)(value * 100);
 			if (mode == 'q')
 			{
 				if (q < 200 || q > 3100) // make sure that quantizer is in allowable range




More information about the MPlayer-cvslog mailing list