Move luminance to Interop/SMPTE metadata and remove the ISDCF metadata dialogue.
[dcpomatic.git] / src / lib / audio_buffers.cc
index 1de2af2ec7627ae875baa0f7aa6287e4596c55a3..5f2d5539d0293706634f43c7320b9c7dceb2a6a6 100644 (file)
@@ -192,9 +192,8 @@ AudioBuffers::copy_from (AudioBuffers const * from, int32_t frames_to_copy, int3
                return;
        }
 
-       DCPOMATIC_ASSERT (from->channels() == channels());
-
        DCPOMATIC_ASSERT (from);
+       DCPOMATIC_ASSERT (from->channels() == channels());
        DCPOMATIC_ASSERT (read_offset >= 0 && (read_offset + frames_to_copy) <= from->_allocated_frames);
        DCPOMATIC_ASSERT (write_offset >= 0 && (write_offset + frames_to_copy) <= _allocated_frames);