Browse code

avfilter/concat: use AV_OPT_TYPE_BOOL for unsafe option

Clément Bœsch authored on 2015/09/09 06:24:12
Showing 1 changed files
... ...
@@ -68,7 +68,7 @@ static const AVOption concat_options[] = {
68 68
       AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, A|F},
69 69
     { "unsafe", "enable unsafe mode",
70 70
       OFFSET(unsafe),
71
-      AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V|A|F},
71
+      AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, V|A|F},
72 72
     { NULL }
73 73
 };
74 74