Commit f4966ba4 authored by Max Kellermann's avatar Max Kellermann

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.
parent ecb7f24b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment