From 9a757cca3485cd747cbce202f57dfe1f4ac5dba3 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sat, 28 Jul 2012 11:48:14 +0200 Subject: [PATCH] avf_concat: fix min value for v option. --- libavfilter/avf_concat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c index d11b650fec..005e4147aa 100644 --- a/libavfilter/avf_concat.c +++ b/libavfilter/avf_concat.c @@ -57,7 +57,7 @@ static const AVOption concat_options[] = { AV_OPT_TYPE_INT, { .dbl = 2 }, 2, INT_MAX }, { "v", "specify the number of video streams", OFFSET(nb_streams[AVMEDIA_TYPE_VIDEO]), - AV_OPT_TYPE_INT, { .dbl = 1 }, 1, INT_MAX }, + AV_OPT_TYPE_INT, { .dbl = 1 }, 0, INT_MAX }, { "a", "specify the number of audio streams", OFFSET(nb_streams[AVMEDIA_TYPE_AUDIO]), AV_OPT_TYPE_INT, { .dbl = 0 }, 0, INT_MAX },