From de6cc2691f693e133fc05d9bce6377cac2c56ba5 Mon Sep 17 00:00:00 2001 From: Peter Colberg Date: Wed, 18 Feb 2009 22:43:10 +0100 Subject: mms: fix assertion in input_stream_open Hi, upon trying to play an MMS stream added to the play list, I got this: mpd: /tmp/mpd/./src/input_stream.c:85: input_stream_open: Assertion `is->plugin->open == ((void *)0) || is->plugin == plugin' failed. With the following patch applied, it works perfectly. Thanks for having implemented MMS support :-). Best regards, Peter --- src/input_mms.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/input_mms.c') diff --git a/src/input_mms.c b/src/input_mms.c index 2e4b049ac..d81be0845 100644 --- a/src/input_mms.c +++ b/src/input_mms.c @@ -56,6 +56,7 @@ input_mms_open(struct input_stream *is, const char *url) decoder, which seems to work fine*/ is->mime = g_strdup("audio/x-ms-wma"); + is->plugin = &input_plugin_mms; is->data = m; is->ready = true; return true; -- cgit v1.2.3