changeset 15362:4ff00aa141ef

updated psycho model range; made a parameter file-static in ae_toolame.c
author nicodvb
date Sun, 08 May 2005 09:37:36 +0000
parents 1c9261582cd6
children 1aa0a05c4b1b
files libmpcodecs/ae_toolame.c libmpcodecs/ae_twolame.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ae_toolame.c	Sat May 07 15:46:02 2005 +0000
+++ b/libmpcodecs/ae_toolame.c	Sun May 08 09:37:36 2005 +0000
@@ -21,13 +21,13 @@
     param_errprot = 0,
     param_debug = 0;
     
-float param_vbr = 0;
+static float param_vbr = 0;
 static char *param_mode = "stereo";
     
 m_option_t toolameopts_conf[] = {
 	{"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},
+	{"psy", &param_psy, CONF_TYPE_INT, CONF_RANGE, -1, 4, 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},
--- a/libmpcodecs/ae_twolame.c	Sat May 07 15:46:02 2005 +0000
+++ b/libmpcodecs/ae_twolame.c	Sun May 08 09:37:36 2005 +0000
@@ -27,7 +27,7 @@
 m_option_t twolameopts_conf[] = {
 	{"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},
+	{"psy", &param_psy, CONF_TYPE_INT, CONF_RANGE, -1, 4, 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},