input/rewind: fix assertion failure
The assertion added in MPD 0.15.14 was too much, it failed when the MIME type of a stream was NULL.
This commit is contained in:
parent
462bba8e2f
commit
ad52eb236d
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
ver 0.15.15 (2010/??/??)
|
||||
* input:
|
||||
- rewind: fix assertion failure
|
||||
|
||||
|
||||
ver 0.15.14 (2010/11/06)
|
||||
|
|
|
@ -84,7 +84,7 @@ copy_attributes(struct input_stream *dest)
|
|||
const struct input_stream *src = &r->input;
|
||||
|
||||
assert(dest != src);
|
||||
assert(dest->mime != src->mime);
|
||||
assert(src->mime == NULL || dest->mime != src->mime);
|
||||
|
||||
dest->ready = src->ready;
|
||||
dest->seekable = src->seekable;
|
||||
|
|
Loading…
Reference in New Issue