[FFmpeg-cvslog] avf_concat: fix min value for v option.

Nicolas George git at videolan.org
Sat Jul 28 11:49:11 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sat Jul 28 11:48:14 2012 +0200| [9a757cca3485cd747cbce202f57dfe1f4ac5dba3] | committer: Nicolas George

avf_concat: fix min value for v option.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a757cca3485cd747cbce202f57dfe1f4ac5dba3
---

 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 d11b650..005e414 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 },



More information about the ffmpeg-cvslog mailing list