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:
parent
ecb7f24b01
commit
f4966ba42c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue