aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/fluidsynth_decoder_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/fluidsynth_decoder_plugin.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/decoder/fluidsynth_decoder_plugin.c b/src/decoder/fluidsynth_decoder_plugin.c
index 9e2511d3e..8cb524c98 100644
--- a/src/decoder/fluidsynth_decoder_plugin.c
+++ b/src/decoder/fluidsynth_decoder_plugin.c
@@ -208,10 +208,7 @@ fluidsynth_scan_file(const char *file,
G_GNUC_UNUSED const struct tag_handler *handler,
G_GNUC_UNUSED void *handler_ctx)
{
- /* to be implemented */
- (void)file;
-
- return true;
+ return fluid_is_midifile(file);
}
static const char *const fluidsynth_suffixes[] = {