ffmpeg | branch: master | Clément Bœsch <u...@pkh.me> | Fri Sep 11 21:11:36 
2015 +0200| [7a256133ffe895f59fa66bae8132beee6efce153] | committer: Clément 
Bœsch

avcodec/textdec: use AV_OPT_TYPE_BOOL for keep_ass_markup option

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

 libavcodec/textdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/textdec.c b/libavcodec/textdec.c
index c9f02a2..a6c8722 100644
--- a/libavcodec/textdec.c
+++ b/libavcodec/textdec.c
@@ -37,7 +37,7 @@ typedef struct {
 #define OFFSET(x) offsetof(TextContext, x)
 #define SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM
 static const AVOption options[] = {
-    { "keep_ass_markup", "Set if ASS tags must be escaped", 
OFFSET(keep_ass_markup), AV_OPT_TYPE_INT,    {.i64=0}, 0, 1, .flags=SD },
+    { "keep_ass_markup", "Set if ASS tags must be escaped", 
OFFSET(keep_ass_markup), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, .flags=SD },
     { NULL }
 };
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to