summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-01-11 21:48:22 +0100
committerMax Kellermann <max@musicpd.org>2017-01-11 21:48:43 +0100
commit9aa43416b6d451af33cbf5cbbe796fc404010f2f (patch)
tree80f0ef2cf24f34c1a74d001295272ad2c6a9b3bd
parent8364029db8f2fb7a5e4755e09c3449184e553064 (diff)
pcm/dop: remove unnecessary assertions
-rw-r--r--src/pcm/PcmDop.cxx2
1 files changed, 0 insertions, 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<uint8_t> _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;