[MPlayer-cvslog] r37772 - trunk/xvid_vbr.c

reimar subversion at mplayerhq.hu
Sat Feb 20 14:14:17 CET 2016


Author: reimar
Date: Sat Feb 20 14:14:17 2016
New Revision: 37772

Log:
xvid_vbr: remove unused variable and calculation.

Modified:
   trunk/xvid_vbr.c

Modified: trunk/xvid_vbr.c
==============================================================================
--- trunk/xvid_vbr.c	Sat Feb 20 14:13:44 2016	(r37771)
+++ trunk/xvid_vbr.c	Sat Feb 20 14:14:17 2016	(r37772)
@@ -1027,7 +1027,7 @@ static int vbr_init_2pass2(void *sstate)
 	if (state->use_alt_curve) {
 
 		double curve_temp, dbytes;
-		int newquant, percent;
+		int newquant;
 		int oldquant = 1;
 
 		if (state->alt_curve_use_auto_bonus_bias)
@@ -1096,7 +1096,6 @@ static int vbr_init_2pass2(void *sstate)
 				if (newquant != oldquant)
 				{
 					oldquant = newquant;
-					percent = (int)((n - state->average_frame) * 100.0 / state->average_frame);
 				}
 
 			}


More information about the MPlayer-cvslog mailing list