summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-12-13 08:56:53 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-12-13 08:56:53 +0000
commit1fd3612310bedcfcdcf8dd4cc3ceddb698c090f9 (patch)
treed7cd56b204a958dc7dede9cf0d4243b13fdfff34
parentf6415a87d03a87af1ae0da892c8bdd9bed6669f2 (diff)
downloadxine-lib-1fd3612310bedcfcdcf8dd4cc3ceddb698c090f9.tar.gz
xine-lib-1fd3612310bedcfcdcf8dd4cc3ceddb698c090f9.tar.bz2
fix mms compilation failure.
CVS patchset: 3506 CVS date: 2002/12/13 08:56:53
-rw-r--r--src/input/input_mms.c9
-rw-r--r--src/input/mms.h4
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);