diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/resampler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/resampler.cc b/src/lib/resampler.cc index 4447ccf0d..2c6594a6d 100644 --- a/src/lib/resampler.cc +++ b/src/lib/resampler.cc @@ -81,6 +81,8 @@ Resampler::set_fast () shared_ptr<const AudioBuffers> Resampler::run (shared_ptr<const AudioBuffers> in) { + DCPOMATIC_ASSERT(in->channels() == _channels); + int in_frames = in->frames (); int in_offset = 0; int out_offset = 0; |
