diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-09 05:00:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-09 10:35:13 +0200 |
commit | 4888932c4d3ac68c26f44d7adf1e22e0d7ed8808 (patch) | |
tree | 9f3249d944d355252d0b63d89fc5351fbda35bdf /libavformat/bintext.c | |
parent | f2c8b666be4c09b66d7866269a6a8d7e1ebce01a (diff) | |
download | ffmpeg-4888932c4d3ac68c26f44d7adf1e22e0d7ed8808.tar.gz |
avformat: Fix max value of AV_OPT_TYPE_VIDEO_RATE
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/bintext.c')
-rw-r--r-- | libavformat/bintext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/bintext.c b/libavformat/bintext.c index 3a24c811ef..a264fd1b5f 100644 --- a/libavformat/bintext.c +++ b/libavformat/bintext.c @@ -326,7 +326,7 @@ static int read_packet(AVFormatContext *s, static const AVOption options[] = { { "linespeed", "set simulated line speed (bytes per second)", OFFSET(chars_per_frame), AV_OPT_TYPE_INT, {.i64 = 6000}, 1, INT_MAX, AV_OPT_FLAG_DECODING_PARAM}, { "video_size", "set video size, such as 640x480 or hd720.", OFFSET(width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NULL}, 0, 0, AV_OPT_FLAG_DECODING_PARAM }, - { "framerate", "set framerate (frames per second)", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, 0, AV_OPT_FLAG_DECODING_PARAM }, + { "framerate", "set framerate (frames per second)", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM }, { NULL }, }; |