diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-02-27 20:36:21 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-02-27 20:36:21 +0000 |
| commit | 9bbeb511d23c5aa319da406ec39382fdeddd04ea (patch) | |
| tree | 377d6395be76968b1af2989d82c783ef75cd129d /src/lib | |
| parent | e63de384db89a83937d42f10d4146c3adf14fdb2 (diff) | |
Speculative fix for FFmpeg files containing references to other files.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/ffmpeg.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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")); |
