changeset 4625:9d7d21173e4f libavcodec

change management of "ab" option in ffmpeg.c, so that it works as "b" option. patch by Benoit Fouet % benoit P fouet A purplelabs P com % Original thread: Subj: [Ffmpeg-devel] [PATCH] use new way to handle "ab" option Date: 03/03/2007 10:51 PM
author gpoirier
date Mon, 05 Mar 2007 10:04:53 +0000
parents 6a900f539e2c
children d25576b9b50c
files utils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Sun Mar 04 11:53:11 2007 +0000
+++ b/utils.c	Mon Mar 05 10:04:53 2007 +0000
@@ -411,7 +411,7 @@
 #define AV_CODEC_DEFAULT_BITRATE 200*1000
 
 static const AVOption options[]={
-{"b", "set video bitrate (in bits/s)", OFFSET(bit_rate), FF_OPT_TYPE_INT, AV_CODEC_DEFAULT_BITRATE, INT_MIN, INT_MAX, V|A|E},
+{"b", "set bitrate (in bits/s)", OFFSET(bit_rate), FF_OPT_TYPE_INT, AV_CODEC_DEFAULT_BITRATE, INT_MIN, INT_MAX, V|A|E},
 {"bt", "set video bitrate tolerance (in bits/s)", OFFSET(bit_rate_tolerance), FF_OPT_TYPE_INT, AV_CODEC_DEFAULT_BITRATE*20, 1, INT_MAX, V|E},
 {"flags", NULL, OFFSET(flags), FF_OPT_TYPE_FLAGS, DEFAULT, INT_MIN, INT_MAX, V|A|E|D, "flags"},
 {"mv4", "use four motion vector by macroblock (mpeg4)", 0, FF_OPT_TYPE_CONST, CODEC_FLAG_4MV, INT_MIN, INT_MAX, V|E, "flags"},