diff options
author | Max Kellermann <max@duempel.org> | 2009-04-26 10:57:02 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-04-26 10:57:02 +0200 |
commit | f4966ba42c918ffe1de8ec92c2f66515cc4ba75e (patch) | |
tree | 323cedd9439bc7abc4739e90574b8ec23677a453 | |
parent | ecb7f24b01e884aa031c6879268060645cb5d7a6 (diff) | |
download | mpd-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.c | 1 |
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); |