X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_decoder.cc;h=62d4d2655f59c84af57f96c8c3d25e747794a352;hb=372555641062f5c7c6e4a1d5f67cfaf12a2c6799;hp=cbde534c30608e97cdd1c673754a95ae6c32bf8b;hpb=b68fb4c103b5580509070c7733d3ae7deb46c3ce;p=dcpomatic.git diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index cbde534c3..62d4d2655 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -364,6 +364,7 @@ FFmpegDecoder::seek (ContentTime time, bool accurate) if (_video_stream) { stream = _video_stream; } else { + DCPOMATIC_ASSERT (_ffmpeg_content->audio); shared_ptr s = dynamic_pointer_cast (_ffmpeg_content->audio->stream ()); if (s) { stream = s->index (_format_context);