diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-09 04:52:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-09 10:34:42 +0200 |
commit | 584fff9478a14af185e9cf85bb3d514d828a47be (patch) | |
tree | 2148c73b777368912881ffb3fa98c2ebcba1acd5 /libavdevice/fbdev_dec.c | |
parent | 131cb675cfb9357c2a039df89af56c6b6c28cd31 (diff) | |
download | ffmpeg-584fff9478a14af185e9cf85bb3d514d828a47be.tar.gz |
avdevice: Fix max value of AV_OPT_TYPE_VIDEO_RATE
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice/fbdev_dec.c')
-rw-r--r-- | libavdevice/fbdev_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/fbdev_dec.c b/libavdevice/fbdev_dec.c index 1505b2557d..3b31373fd6 100644 --- a/libavdevice/fbdev_dec.c +++ b/libavdevice/fbdev_dec.c @@ -220,7 +220,7 @@ static int fbdev_get_device_list(AVFormatContext *s, AVDeviceInfoList *device_li #define OFFSET(x) offsetof(FBDevContext, x) #define DEC AV_OPT_FLAG_DECODING_PARAM static const AVOption options[] = { - { "framerate","", OFFSET(framerate_q), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, 0, DEC }, + { "framerate","", OFFSET(framerate_q), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, INT_MAX, DEC }, { NULL }, }; |