aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mod_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/mod_plugin.c')
-rw-r--r--src/decoder/mod_plugin.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/decoder/mod_plugin.c b/src/decoder/mod_plugin.c
index 6e21a13eb..a391b2c77 100644
--- a/src/decoder/mod_plugin.c
+++ b/src/decoder/mod_plugin.c
@@ -160,7 +160,7 @@ static void mod_close(mod_Data * data)
free(data);
}
-static bool
+static void
mod_decode(struct decoder *decoder, const char *path)
{
mod_Data *data;
@@ -173,7 +173,7 @@ mod_decode(struct decoder *decoder, const char *path)
if (!(data = mod_open(path))) {
ERROR("failed to open mod: %s\n", path);
MikMod_Exit();
- return false;
+ return;
}
audio_format.bits = 16;
@@ -197,8 +197,6 @@ mod_decode(struct decoder *decoder, const char *path)
mod_close(data);
MikMod_Exit();
-
- return true;
}
static struct tag *modTagDup(const char *file)