From 1fd3612310bedcfcdcf8dd4cc3ceddb698c090f9 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Fri, 13 Dec 2002 08:56:53 +0000 Subject: fix mms compilation failure. CVS patchset: 3506 CVS date: 2002/12/13 08:56:53 --- src/input/input_mms.c | 9 ++++----- src/input/mms.h | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/input/input_mms.c b/src/input/input_mms.c index 77beec4d3..22f483942 100644 --- a/src/input/input_mms.c +++ b/src/input/input_mms.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_mms.c,v 1.27 2002/12/12 23:48:02 tmattern Exp $ + * $Id: input_mms.c,v 1.28 2002/12/13 08:56:53 f1rmb Exp $ * * mms input plugin based on work from major mms */ @@ -368,9 +368,9 @@ static void *init_class (xine_t *xine, void *data) { this->input_class.eject_media = NULL; xine->config->register_enum(xine->config, "input.mms_network_bandwidth", 10, - mms_bandwidth_strs, - "Network bandwidth", - NULL, 0, bandwidth_changed_cb, (void*) this); + (char **)mms_bandwidth_strs, + "Network bandwidth", + NULL, 0, bandwidth_changed_cb, (void*) this); return this; } @@ -384,4 +384,3 @@ plugin_info_t xine_plugin_info[] = { { PLUGIN_INPUT, 10, "mms", XINE_VERSION_CODE, NULL, init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; - diff --git a/src/input/mms.h b/src/input/mms.h index c78782a05..3bb3b2358 100644 --- a/src/input/mms.h +++ b/src/input/mms.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: mms.h,v 1.7 2002/10/26 22:50:52 guenter Exp $ + * $Id: mms.h,v 1.8 2002/12/13 08:56:53 f1rmb Exp $ * * libmms public header */ @@ -31,7 +31,7 @@ typedef struct mms_s mms_t; char* mms_connect_common(int *s ,int *port, char *url, char **host, char **path, char **file); -mms_t* mms_connect (xine_stream_t *stream, const char *url); +mms_t* mms_connect (xine_stream_t *stream, const char *url_, int bandwidth); int mms_read (mms_t *this, char *data, int len); uint32_t mms_get_length (mms_t *this); -- cgit v1.2.3