From f4966ba42c918ffe1de8ec92c2f66515cc4ba75e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Apr 2009 10:57:02 +0200 Subject: decoder_api: removed dc.pipe assertion from decoder_read() Database update was broken due to the dc.pipe!=NULL assertion. This assertion is only valid while MPD decodes a song, not during database update. --- src/decoder_api.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/decoder_api.c b/src/decoder_api.c index ee80c471f..2ece3bb98 100644 --- a/src/decoder_api.c +++ b/src/decoder_api.c @@ -136,7 +136,6 @@ size_t decoder_read(struct decoder *decoder, assert(decoder == NULL || dc.state == DECODE_STATE_START || dc.state == DECODE_STATE_DECODE); - assert(dc.pipe != NULL); assert(is != NULL); assert(buffer != NULL); -- cgit v1.2.3