From: Carl Hetherington Date: Wed, 27 Feb 2019 20:36:21 +0000 (+0000) Subject: Speculative fix for FFmpeg files containing references to other files. X-Git-Tag: v2.13.122~1 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=9bbeb511d23c5aa319da406ec39382fdeddd04ea Speculative fix for FFmpeg files containing references to other files. --- diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index 53829c5f2..8a0dcb593 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -208,6 +208,8 @@ FFmpeg::setup_decoders () https://trac.ffmpeg.org/ticket/5681 */ av_dict_set_int (&options, "strict", FF_COMPLIANCE_EXPERIMENTAL, 0); + /* Enable following of links in files */ + av_dict_set_int (&options, "enable_drefs", 1, 0); if (avcodec_open2 (context, codec, &options) < 0) { throw DecodeError (N_("could not open decoder"));