diff options
Diffstat (limited to 'sub/lavc_conv.c')
-rw-r--r-- | sub/lavc_conv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/lavc_conv.c b/sub/lavc_conv.c index 06b975660f..75c127cc82 100644 --- a/sub/lavc_conv.c +++ b/sub/lavc_conv.c @@ -94,6 +94,7 @@ struct lavc_conv *lavc_conv_create(struct mp_log *log, const char *codec_name, avctx->time_base = (AVRational) {1, 1000}; #if LIBAVCODEC_VERSION_MICRO >= 100 avctx->pkt_timebase = avctx->time_base; + avctx->sub_charenc_mode = FF_SUB_CHARENC_MODE_IGNORE; #endif priv->avctx = avctx; priv->extradata = talloc_strndup(priv, avctx->subtitle_header, |