From bebea7e1e218eed9e72dac3c7c2934f16c96f4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 11 Dec 2007 19:04:47 +0100 Subject: Transform get_extensions and get_mimetypes into strings. Please note that this commit temporarily breaks building. --- src/demuxers/demux_mod.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/demuxers/demux_mod.c') diff --git a/src/demuxers/demux_mod.c b/src/demuxers/demux_mod.c index 680ed5094..59813bb90 100644 --- a/src/demuxers/demux_mod.c +++ b/src/demuxers/demux_mod.c @@ -352,14 +352,6 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str return &this->demux_plugin; } -static const char *get_extensions (demux_class_t *this_gen) { - return "mod it stm s3m 669 amf med mdl xm"; -} - -static const char *get_mimetypes (demux_class_t *this_gen) { - return NULL; -} - static void *demux_mod_init_plugin (xine_t *xine, void *data) { demux_mod_class_t *this; @@ -368,8 +360,8 @@ static void *demux_mod_init_plugin (xine_t *xine, void *data) { this->demux_class.open_plugin = open_plugin; this->demux_class.description = N_("ModPlug Amiga MOD Music file demux plugin"); this->demux_class.identifier = "mod"; - this->demux_class.get_mimetypes = get_mimetypes; - this->demux_class.get_extensions = get_extensions; + this->demux_class.mimetypes = NULL; + this->demux_class.extensions = "mod it stm s3m 669 amf med mdl xm"; this->demux_class.dispose = default_demux_class_dispose; return this; -- cgit v1.2.3