avf_concat: fix min value for v option.
This commit is contained in:
parent
66a5201819
commit
9a757cca34
@ -57,7 +57,7 @@ static const AVOption concat_options[] = {
|
|||||||
AV_OPT_TYPE_INT, { .dbl = 2 }, 2, INT_MAX },
|
AV_OPT_TYPE_INT, { .dbl = 2 }, 2, INT_MAX },
|
||||||
{ "v", "specify the number of video streams",
|
{ "v", "specify the number of video streams",
|
||||||
OFFSET(nb_streams[AVMEDIA_TYPE_VIDEO]),
|
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",
|
{ "a", "specify the number of audio streams",
|
||||||
OFFSET(nb_streams[AVMEDIA_TYPE_AUDIO]),
|
OFFSET(nb_streams[AVMEDIA_TYPE_AUDIO]),
|
||||||
AV_OPT_TYPE_INT, { .dbl = 0 }, 0, INT_MAX },
|
AV_OPT_TYPE_INT, { .dbl = 0 }, 0, INT_MAX },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user