[FFmpeg-cvslog] lavfi/ass: fix version check for sub_text_format option
Clément Bœsch
git at videolan.org
Sat Feb 27 16:26:35 CET 2016
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat Feb 27 16:26:10 2016 +0100| [653af9f18839a3f6fdf6f7b8e734ef5cae1485d0] | committer: Clément Bœsch
lavfi/ass: fix version check for sub_text_format option
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=653af9f18839a3f6fdf6f7b8e734ef5cae1485d0
---
libavfilter/vf_subtitles.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c
index 9e55002..916db65 100644
--- a/libavfilter/vf_subtitles.c
+++ b/libavfilter/vf_subtitles.c
@@ -393,7 +393,7 @@ static av_cold int init_subtitles(AVFilterContext *ctx)
}
if (ass->charenc)
av_dict_set(&codec_opts, "sub_charenc", ass->charenc, 0);
- if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57,25,100))
+ if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57,26,100))
av_dict_set(&codec_opts, "sub_text_format", "ass", 0);
ret = avcodec_open2(dec_ctx, dec, &codec_opts);
if (ret < 0)
More information about the ffmpeg-cvslog
mailing list