summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-21 22:59:19 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-21 22:59:19 +0100
commit92984df6ab50ba4ec90d105e44b58efa863c4b59 (patch)
tree492b129885467a20078af519da9864c7d2319c0a /src/lib/ffmpeg.cc
parentf868d7b9828766aab128f19ec8536efcac36ae37 (diff)
Even better open-file error reports.
Diffstat (limited to 'src/lib/ffmpeg.cc')
-rw-r--r--src/lib/ffmpeg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc
index f750cfd58..4b95666b8 100644
--- a/src/lib/ffmpeg.cc
+++ b/src/lib/ffmpeg.cc
@@ -133,7 +133,7 @@ FFmpeg::setup_general ()
int e = avformat_open_input (&_format_context, 0, 0, &options);
if (e < 0) {
- throw OpenFileError (_ffmpeg_content->path(0).string(), e);
+ throw OpenFileError (_ffmpeg_content->path(0).string(), e, true);
}
if (avformat_find_stream_info (_format_context, 0) < 0) {