aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-05-18 21:11:00 +0200
committerMax Kellermann <max@duempel.org>2010-05-18 21:11:00 +0200
commit28736414a8b1ae4878d4d18f042a9c04ef7dd6c5 (patch)
tree3ba4ba4c0d9ee09d7c56ed0d1558bb46bbfa6786 /src/input
parente98bd55cbf850f17fa3b7339c659791834e9aaa8 (diff)
downloadmpd-28736414a8b1ae4878d4d18f042a9c04ef7dd6c5.tar.gz
mpd-28736414a8b1ae4878d4d18f042a9c04ef7dd6c5.tar.xz
mpd-28736414a8b1ae4878d4d18f042a9c04ef7dd6c5.zip
input/mms: initialize the "eof" attribute
Diffstat (limited to 'src/input')
-rw-r--r--src/input/mms_input_plugin.c2
1 files changed, 2 insertions, 0 deletions
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");