projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copy test fix from v2.15.x.
[dcpomatic.git]
/
src
/
lib
/
ffmpeg.cc
diff --git
a/src/lib/ffmpeg.cc
b/src/lib/ffmpeg.cc
index fb34379106c72b8c5ae15756812e86e56dcdc9b7..f26d1d2cf224530582f709482840a2fb6840be39 100644
(file)
--- a/
src/lib/ffmpeg.cc
+++ b/
src/lib/ffmpeg.cc
@@
-128,7
+128,7
@@
FFmpeg::setup_general ()
int e = avformat_open_input (&_format_context, 0, 0, &options);
if (e < 0) {
int e = avformat_open_input (&_format_context, 0, 0, &options);
if (e < 0) {
- throw OpenFileError (_ffmpeg_content->path(0).string(), e,
true
);
+ throw OpenFileError (_ffmpeg_content->path(0).string(), e,
OpenFileError::READ
);
}
if (avformat_find_stream_info (_format_context, 0) < 0) {
}
if (avformat_find_stream_info (_format_context, 0) < 0) {