aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyan Doshi <gyandoshi@gmail.com>2017-03-23 19:04:30 +0530
committerLou Logan <lou@lrcd.com>2017-03-30 10:29:14 -0800
commit2104e3383fd1e9340c693451d9c7abb6501683ac (patch)
tree320e58bd27d518f9c4f15bdfbd3b5bd9634ef36c
parent59b8c2a4e668d129dedfab696cd8c07f5103343c (diff)
downloadffmpeg-2104e3383fd1e9340c693451d9c7abb6501683ac.tar.gz
avfilter/avf_abitscope: Correct range for framerate
Signed-off-by: Gyan Doshi <gyandoshi@gmail.com> Signed-off-by: Paul B Mahol <onemda@gmail.com> (via IRC)
-rw-r--r--libavfilter/avf_abitscope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avf_abitscope.c b/libavfilter/avf_abitscope.c
index 4f5d4c7b1c..0f3e3594c1 100644
--- a/libavfilter/avf_abitscope.c
+++ b/libavfilter/avf_abitscope.c
@@ -46,8 +46,8 @@ typedef struct AudioBitScopeContext {
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
static const AVOption abitscope_options[] = {
- { "rate", "set video rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, 0, FLAGS },
- { "r", "set video rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, 0, FLAGS },
+ { "rate", "set video rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, INT_MAX, FLAGS },
+ { "r", "set video rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, INT_MAX, FLAGS },
{ "size", "set video size", OFFSET(w), AV_OPT_TYPE_IMAGE_SIZE, {.str="1024x256"}, 0, 0, FLAGS },
{ "s", "set video size", OFFSET(w), AV_OPT_TYPE_IMAGE_SIZE, {.str="1024x256"}, 0, 0, FLAGS },
{ "colors", "set channels colors", OFFSET(colors), AV_OPT_TYPE_STRING, {.str = "red|green|blue|yellow|orange|lime|pink|magenta|brown" }, 0, 0, FLAGS },