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.
This commit is contained in:
Max Kellermann 2009-04-26 10:57:02 +02:00
parent ecb7f24b01
commit f4966ba42c
1 changed files with 0 additions and 1 deletions

View File

@ -136,7 +136,6 @@ size_t decoder_read(struct decoder *decoder,
assert(decoder == NULL || assert(decoder == NULL ||
dc.state == DECODE_STATE_START || dc.state == DECODE_STATE_START ||
dc.state == DECODE_STATE_DECODE); dc.state == DECODE_STATE_DECODE);
assert(dc.pipe != NULL);
assert(is != NULL); assert(is != NULL);
assert(buffer != NULL); assert(buffer != NULL);