Simplify scripting operations, so that n=1 is not to be considered as a
special case.
... | ... |
@@ -59,7 +59,7 @@ typedef struct { |
59 | 59 |
|
60 | 60 |
static const AVOption concat_options[] = { |
61 | 61 |
{ "n", "specify the number of segments", OFFSET(nb_segments), |
62 |
- AV_OPT_TYPE_INT, { .i64 = 2 }, 2, INT_MAX, V|A|F}, |
|
62 |
+ AV_OPT_TYPE_INT, { .i64 = 2 }, 1, INT_MAX, V|A|F}, |
|
63 | 63 |
{ "v", "specify the number of video streams", |
64 | 64 |
OFFSET(nb_streams[AVMEDIA_TYPE_VIDEO]), |
65 | 65 |
AV_OPT_TYPE_INT, { .i64 = 1 }, 0, INT_MAX, V|F }, |