summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-10 13:50:47 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commit9423e02c37daba7f9e406929a1cfc1bb10fb4b62 (patch)
tree96a4fc5435652a913a5732907474fc11968deb04 /src/lib/ffmpeg.cc
parent90becb40eb48467b6d31d6939bcfcf39c3c9652c (diff)
Partial work on using a no-video FFmpeg file.
Diffstat (limited to 'src/lib/ffmpeg.cc')
-rw-r--r--src/lib/ffmpeg.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc
index 7b1eae2b1..bfa3d4e7f 100644
--- a/src/lib/ffmpeg.cc
+++ b/src/lib/ffmpeg.cc
@@ -161,10 +161,6 @@ FFmpeg::setup_general ()
_video_stream = video_stream_undefined_frame_rate.get();
}
- if (!_video_stream) {
- throw DecodeError (N_("could not find video stream"));
- }
-
/* Hack: if the AVStreams have duplicate IDs, replace them with our
own. We use the IDs so that we can cope with VOBs, in which streams
move about in index but remain with the same ID in different