avfilter/concat: use AV_OPT_TYPE_BOOL for unsafe option
authorClément Bœsch <u@pkh.me>
Tue, 8 Sep 2015 21:24:12 +0000 (23:24 +0200)
committerClément Bœsch <u@pkh.me>
Tue, 8 Sep 2015 21:24:12 +0000 (23:24 +0200)
libavfilter/avf_concat.c

index 088d782..8d736a4 100644 (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 }
 };