[FFmpeg-cvslog] avfilter/concat: use AV_OPT_TYPE_BOOL for unsafe option

Clément Bœsch git at videolan.org
Tue Sep 8 23:24:41 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue Sep  8 23:24:12 2015 +0200| [9f4b3bd96c4d537d7092d5853c0c24f03b15424a] | committer: Clément Bœsch

avfilter/concat: use AV_OPT_TYPE_BOOL for unsafe option

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9f4b3bd96c4d537d7092d5853c0c24f03b15424a
---

 libavfilter/avf_concat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c
index 088d782..8d736a4 100644
--- a/libavfilter/avf_concat.c
+++ b/libavfilter/avf_concat.c
@@ -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 }
 };
 



More information about the ffmpeg-cvslog mailing list