[FFmpeg-cvslog] lavc: remove the deprecated "ab" option.

Anton Khirnov git at videolan.org
Sat Jan 28 08:04:57 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Jan 22 10:47:48 2012 +0100| [041cd5a0c55e02dd3b9a2419644b03103819c3d3] | committer: Anton Khirnov

lavc: remove the deprecated "ab" option.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=041cd5a0c55e02dd3b9a2419644b03103819c3d3
---

 libavcodec/options.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavcodec/options.c b/libavcodec/options.c
index 2689d32..f8a499c 100644
--- a/libavcodec/options.c
+++ b/libavcodec/options.c
@@ -76,7 +76,6 @@ static const AVClass *codec_child_class_next(const AVClass *prev)
 
 static const AVOption options[]={
 {"b", "set bitrate (in bits/s)", OFFSET(bit_rate), AV_OPT_TYPE_INT, {.dbl = AV_CODEC_DEFAULT_BITRATE }, INT_MIN, INT_MAX, V|A|E},
-{"ab", "this option is deprecated, use b", OFFSET(bit_rate), AV_OPT_TYPE_INT, {.dbl = AV_CODEC_DEFAULT_BITRATE }, INT_MIN, INT_MAX, A|E},
 {"bt", "set video bitrate tolerance (in bits/s)", OFFSET(bit_rate_tolerance), AV_OPT_TYPE_INT, {.dbl = AV_CODEC_DEFAULT_BITRATE*20 }, 1, INT_MAX, V|E},
 {"flags", NULL, OFFSET(flags), AV_OPT_TYPE_FLAGS, {.dbl = DEFAULT }, 0, UINT_MAX, V|A|E|D, "flags"},
 {"mv4", "use four motion vector by macroblock (mpeg4)", 0, AV_OPT_TYPE_CONST, {.dbl = CODEC_FLAG_4MV }, INT_MIN, INT_MAX, V|E, "flags"},



More information about the ffmpeg-cvslog mailing list