aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-01-06 21:48:38 +0800
committerPaul B Mahol <onemda@gmail.com>2020-01-11 11:35:51 +0100
commitdd39dbf9839cf86ebc8e1943855ea2ee36a4160f (patch)
treee92c2f9df0627bde3b0cc206ef71c518bff3ac1b
parenta144cd6a51fea8f28a36e33d397c413871b4613a (diff)
downloadffmpeg-dd39dbf9839cf86ebc8e1943855ea2ee36a4160f.tar.gz
avfilter/af_amix: change the max range of the number of inputs
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
-rw-r--r--libavfilter/af_amix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c
index 89a1b0568f..af8ad58262 100644
--- a/libavfilter/af_amix.c
+++ b/libavfilter/af_amix.c
@@ -182,7 +182,7 @@ typedef struct MixContext {
#define F AV_OPT_FLAG_FILTERING_PARAM
static const AVOption amix_options[] = {
{ "inputs", "Number of inputs.",
- OFFSET(nb_inputs), AV_OPT_TYPE_INT, { .i64 = 2 }, 1, 1024, A|F },
+ OFFSET(nb_inputs), AV_OPT_TYPE_INT, { .i64 = 2 }, 1, INT16_MAX, A|F },
{ "duration", "How to determine the end-of-stream.",
OFFSET(duration_mode), AV_OPT_TYPE_INT, { .i64 = DURATION_LONGEST }, 0, 2, A|F, "duration" },
{ "longest", "Duration of longest input.", 0, AV_OPT_TYPE_CONST, { .i64 = DURATION_LONGEST }, 0, 0, A|F, "duration" },