avfilter/concat: use AV_OPT_TYPE_BOOL for unsafe option

This commit is contained in:
Clément Bœsch 2015-09-08 23:24:12 +02:00
parent b6249d4f52
commit 9f4b3bd96c

View File

@ -68,7 +68,7 @@ static const AVOption concat_options[] = {
AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, A|F},
{ "unsafe", "enable unsafe mode",
OFFSET(unsafe),
AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V|A|F},
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, V|A|F},
{ NULL }
};