Remove now-unnecessary assertion.
[dcpomatic.git] / src / lib / ffmpeg_decoder.cc
index 9f505ea4303d8a4685c213b468a8335bb0a6b35a..477dcda1988371b271eb2bcaa1c943c1d630eb27 100644 (file)
@@ -360,7 +360,6 @@ deinterleave_audio(shared_ptr<FFmpegAudioStream> stream, AVFrame* frame)
        case AV_SAMPLE_FMT_FLTP:
        {
                auto p = reinterpret_cast<float**> (frame->data);
-               DCPOMATIC_ASSERT(channels <= stream->channels());
                for (int i = 0; i < channels; ++i) {
                        memcpy (data[i], p[i], frames * sizeof(float));
                }