From 9aa43416b6d451af33cbf5cbbe796fc404010f2f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 11 Jan 2017 21:48:22 +0100 Subject: [PATCH] pcm/dop: remove unnecessary assertions --- src/pcm/PcmDop.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pcm/PcmDop.cxx b/src/pcm/PcmDop.cxx index 93ce38350..8fad889c2 100644 --- a/src/pcm/PcmDop.cxx +++ b/src/pcm/PcmDop.cxx @@ -44,8 +44,6 @@ pcm_dsd_to_dop(PcmBuffer &buffer, unsigned channels, ConstBuffer _src) { assert(audio_valid_channel_count(channels)); - assert(!_src.IsNull()); - assert(_src.size > 0); assert(_src.size % channels == 0); const unsigned num_src_samples = _src.size;