input/rewind: fix double free bug
Duplicate the "mime" attribute of the inner input_stream object, instead of copying the pointer.
This commit is contained in:
parent
e8d8bd4c0d
commit
a728d7a026
2
NEWS
2
NEWS
|
@ -1,5 +1,7 @@
|
|||
ver 0.15.14 (2010/??/??)
|
||||
* output_thread: fix assertion failure due to race condition in OPEN
|
||||
* input:
|
||||
- rewind: fix double free bug
|
||||
* decoders:
|
||||
- mp4ff, ffmpeg: add extension ".m4b" (audio book)
|
||||
|
||||
|
|
|
@ -244,4 +244,5 @@ input_rewind_open(struct input_stream *is)
|
|||
input stream */
|
||||
is->plugin = &rewind_input_plugin;
|
||||
is->data = c;
|
||||
is->mime = g_strdup(c->input.mime);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue