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/rawvideodec.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/rawvideodec.c')
-rw-r--r-- | libavformat/rawvideodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rawvideodec.c b/libavformat/rawvideodec.c index b037aeaa59..8bde22c4e9 100644 --- a/libavformat/rawvideodec.c +++ b/libavformat/rawvideodec.c @@ -89,7 +89,7 @@ static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt) static const AVOption rawvideo_options[] = { { "video_size", "set frame size", OFFSET(width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NULL}, 0, 0, DEC }, { "pixel_format", "set pixel format", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str = "yuv420p"}, 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 }, }; |