[MPlayer-cvslog] CVS: main/libmpcodecs ae_toolame.c,1.7,1.8

Nico Sabbi CVS syncmail at mplayerhq.hu
Wed Apr 27 21:26:11 CEST 2005


CVS change done by Nico Sabbi CVS

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

Modified Files:
	ae_toolame.c 
Log Message:
fixed variability range

Index: ae_toolame.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ae_toolame.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ae_toolame.c	25 Apr 2005 10:37:55 -0000	1.7
+++ ae_toolame.c	27 Apr 2005 19:26:09 -0000	1.8
@@ -28,7 +28,7 @@
 	{"br", &param_bitrate, CONF_TYPE_INT, 0, 0, 0, NULL},
 	{"mode", &param_mode, CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"psy", &param_psy, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
-	{"vbr", &param_vbr, CONF_TYPE_FLOAT, CONF_RANGE, 0, 50, NULL},
+	{"vbr", &param_vbr, CONF_TYPE_FLOAT, CONF_RANGE, -50, 50, NULL},
 	{"maxvbr", &param_maxvbr, CONF_TYPE_INT, 0, 0, 0, NULL},
 	{"errprot", &param_errprot, CONF_TYPE_INT, CONF_RANGE, 0, 1, NULL},
 	{"debug", &param_debug, CONF_TYPE_INT, CONF_RANGE, 0, 100000000, NULL},
@@ -180,7 +180,7 @@
 		if(toolame_setErrorProtection(ctx->toolame_ctx, TRUE) != 0)
 			return 0;
 	
-	if(param_vbr > 0)
+	if(param_vbr != 0)
 	{
 		if(toolame_setVBR(ctx->toolame_ctx, TRUE) != 0)
 			return 0;




More information about the MPlayer-cvslog mailing list