[MPlayer-dev-eng] PATCH: Typo in ve_lavc.c?

Tilmann Bitterberg transcode at tibit.org
Thu Oct 23 12:32:30 CEST 2003


While browsing the code, I found (probably a copy&paste) error
in libmpcodecs/ve_lavc.c. I am not sure that the range is
correct.

Patch Attached

Tilmann
-- 
Sometimes transcode changes or   |            Searchable
adds new features while you      |      mailing-list archives
are encoding.                    |  http://itdp.de/transcode-users/
            -- ThOe              |         IRCnet #transcode
-------------- next part --------------
--- ve_lavc.c.old	Thu Oct 23 12:15:32 2003
+++ ve_lavc.c	Thu Oct 23 12:30:21 2003
@@ -178,7 +178,7 @@
 	{"vrc_override", &lavc_param_rc_override_string, CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"vrc_maxrate", &lavc_param_rc_max_rate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000, NULL},
 	{"vrc_minrate", &lavc_param_rc_min_rate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000, NULL},
-	{"vrc_buf_size", &lavc_param_rc_min_rate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000, NULL},
+	{"vrc_buf_size", &lavc_param_rc_buffer_size, CONF_TYPE_INT, CONF_RANGE, 4, 24000000, NULL},
 	{"vrc_buf_aggressivity", &lavc_param_rc_buffer_aggressivity, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 99.0, NULL},
 	{"vrc_init_cplx", &lavc_param_rc_initial_cplx, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 9999999.0, NULL},
         {"vfdct", &lavc_param_fdct, CONF_TYPE_INT, CONF_RANGE, 0, 10, NULL},


More information about the MPlayer-dev-eng mailing list