summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_subtitles.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-02-27 16:26:10 +0100
committerClément Bœsch <u@pkh.me>2016-02-27 16:26:10 +0100
commit653af9f18839a3f6fdf6f7b8e734ef5cae1485d0 (patch)
tree2151550d56bfcfb45128f8b2f75e4f0077d6dd20 /libavfilter/vf_subtitles.c
parent8adbe26b909aec76a4d3a80837d4453f1cfbddc1 (diff)
downloadffmpeg-streaming-653af9f18839a3f6fdf6f7b8e734ef5cae1485d0.zip
ffmpeg-streaming-653af9f18839a3f6fdf6f7b8e734ef5cae1485d0.tar.gz
lavfi/ass: fix version check for sub_text_format option
Diffstat (limited to 'libavfilter/vf_subtitles.c')
-rw-r--r--libavfilter/vf_subtitles.c2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud