aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/v210.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-06-09 05:00:52 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-06-09 10:35:13 +0200
commit4888932c4d3ac68c26f44d7adf1e22e0d7ed8808 (patch)
tree9f3249d944d355252d0b63d89fc5351fbda35bdf /libavformat/v210.c
parentf2c8b666be4c09b66d7866269a6a8d7e1ebce01a (diff)
downloadffmpeg-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/v210.c')
-rw-r--r--libavformat/v210.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/v210.c b/libavformat/v210.c
index 24ce042ff5..a90bd367c1 100644
--- a/libavformat/v210.c
+++ b/libavformat/v210.c
@@ -83,7 +83,7 @@ static int v210_read_packet(AVFormatContext *s, AVPacket *pkt)
#define DEC AV_OPT_FLAG_DECODING_PARAM
static const AVOption v210_options[] = {
{ "video_size", "set frame size", OFFSET(width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NULL}, 0, 0, DEC },
- { "framerate", "set frame rate", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, 0, DEC },
+ { "framerate", "set frame rate", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, INT_MAX, DEC },
{ NULL },
};