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/rawdec.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/rawdec.c')
-rw-r--r-- | libavformat/rawdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 5aad1c1fff..876a6e6a75 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -107,7 +107,7 @@ int ff_raw_data_read_header(AVFormatContext *s) #define OFFSET(x) offsetof(FFRawVideoDemuxerContext, x) #define DEC AV_OPT_FLAG_DECODING_PARAM const AVOption ff_rawvideo_options[] = { - { "framerate", "", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, 0, DEC}, + { "framerate", "", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, INT_MAX, DEC}, { NULL }, }; |