aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-04-26 10:57:02 +0200
committerMax Kellermann <max@duempel.org>2009-04-26 10:57:02 +0200
commitf4966ba42c918ffe1de8ec92c2f66515cc4ba75e (patch)
tree323cedd9439bc7abc4739e90574b8ec23677a453
parentecb7f24b01e884aa031c6879268060645cb5d7a6 (diff)
downloadmpd-f4966ba42c918ffe1de8ec92c2f66515cc4ba75e.tar.gz
mpd-f4966ba42c918ffe1de8ec92c2f66515cc4ba75e.tar.xz
mpd-f4966ba42c918ffe1de8ec92c2f66515cc4ba75e.zip
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.
Diffstat (limited to '')
-rw-r--r--src/decoder_api.c1
1 files changed, 0 insertions, 1 deletions
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);