projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e63de38
)
Speculative fix for FFmpeg files containing references to other files.
author
Carl Hetherington
<cth@carlh.net>
Wed, 27 Feb 2019 20:36:21 +0000
(20:36 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 27 Feb 2019 20:36:21 +0000
(20:36 +0000)
src/lib/ffmpeg.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg.cc
b/src/lib/ffmpeg.cc
index 53829c5f2391919056b4248a368693b7fef1d640..8a0dcb5930afaad11cff0706d9ab3df7c199b814 100644
(file)
--- 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"));