aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/mod_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputPlugins/mod_plugin.c')
-rw-r--r--src/inputPlugins/mod_plugin.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/inputPlugins/mod_plugin.c b/src/inputPlugins/mod_plugin.c
index 2fcf7b801..9ae9cef16 100644
--- a/src/inputPlugins/mod_plugin.c
+++ b/src/inputPlugins/mod_plugin.c
@@ -272,16 +272,12 @@ static const char *modSuffixes[] = { "amf",
};
struct decoder_plugin modPlugin = {
- "mod",
- NULL,
- mod_finishMikMod,
- NULL,
- NULL,
- mod_decode,
- modTagDup,
- INPUT_PLUGIN_STREAM_FILE,
- modSuffixes,
- NULL
+ .name = "mod",
+ .finish = mod_finishMikMod,
+ .file_decode = mod_decode,
+ .tag_dup = modTagDup,
+ .stream_types = INPUT_PLUGIN_STREAM_FILE,
+ .suffixes = modSuffixes,
};
#else