aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/input/mms_input_plugin.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ab0aa2109..d2baa737e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
ver 0.15.10 (2010/??/??)
* input:
- mms: fix memory leak in error handler
+ - mms: initialize the "eof" attribute
* decoders:
- mad: properly calculate ID3 size without libid3tag
diff --git a/src/input/mms_input_plugin.c b/src/input/mms_input_plugin.c
index eb3a5cedb..25e3129d9 100644
--- a/src/input/mms_input_plugin.c
+++ b/src/input/mms_input_plugin.c
@@ -54,6 +54,8 @@ input_mms_open(struct input_stream *is, const char *url)
return false;
}
+ m->eof = false;
+
/* XX is this correct? at least this selects the ffmpeg
decoder, which seems to work fine*/
is->mime = g_strdup("audio/x-ms-wma");