diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 19:04:47 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 19:04:47 +0100 |
commit | bebea7e1e218eed9e72dac3c7c2934f16c96f4a4 (patch) | |
tree | 71f2cb804b77ac246d3d166d358b01154d12622e /src/combined/nsf_demuxer.c | |
parent | f7cbfdf9575df64a5ba6f594912ae18c45a1058e (diff) | |
download | xine-lib-bebea7e1e218eed9e72dac3c7c2934f16c96f4a4.tar.gz xine-lib-bebea7e1e218eed9e72dac3c7c2934f16c96f4a4.tar.bz2 |
Transform get_extensions and get_mimetypes into strings.
Please note that this commit temporarily breaks building.
Diffstat (limited to 'src/combined/nsf_demuxer.c')
-rw-r--r-- | src/combined/nsf_demuxer.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/combined/nsf_demuxer.c b/src/combined/nsf_demuxer.c index f6e5f8eff..adf97a43d 100644 --- a/src/combined/nsf_demuxer.c +++ b/src/combined/nsf_demuxer.c @@ -349,14 +349,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 "nsf"; -} - -static const char *get_mimetypes (demux_class_t *this_gen) { - return NULL; -} - void *demux_nsf_init_plugin (xine_t *xine, void *data) { demux_nsf_class_t *this; @@ -365,8 +357,8 @@ void *demux_nsf_init_plugin (xine_t *xine, void *data) { this->demux_class.open_plugin = open_plugin; this->demux_class.description = N_("NES Music file demux plugin"); this->demux_class.identifier = "NSF"; - this->demux_class.get_mimetypes = get_mimetypes; - this->demux_class.get_extensions = get_extensions; + this->demux_class.mimetypes = NULL; + this->demux_class.extensions = "nsf"; this->demux_class.dispose = default_demux_class_dispose; return this; |