diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-12-22 10:10:13 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-12-22 10:10:13 +0000 |
commit | a45bc5922f6716cdaccebba1b845dd26338dd7bf (patch) | |
tree | d99b51ff172387986eeeca5d9135eee9e883b072 /libavcodec/utils.c | |
parent | 8fbec4f4d0e10dec451fce5f8f62908d4896170a (diff) | |
download | ffmpeg-a45bc5922f6716cdaccebba1b845dd26338dd7bf.tar.gz |
bt 0 is invalid, setting min to 1
Originally committed as revision 7357 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 1d02600e48..ef38070357 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -421,7 +421,7 @@ static const char* context_to_name(void* ptr) { 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}, -{"bt", "set video bitrate tolerance (in bits/s)", OFFSET(bit_rate_tolerance), FF_OPT_TYPE_INT, AV_CODEC_DEFAULT_BITRATE*20, INT_MIN, INT_MAX, V|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"}, {"obmc", "use overlapped block motion compensation (h263+)", 0, FF_OPT_TYPE_CONST, CODEC_FLAG_OBMC, INT_MIN, INT_MAX, V|E, "flags"}, |