Commit ad52eb23 authored by Max Kellermann's avatar Max Kellermann

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.
parent 462bba8e
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;
......
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