diff options
author | Max Kellermann <max@duempel.org> | 2012-02-11 19:26:41 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-02-11 19:28:56 +0100 |
commit | ee16fc958c70946f934a86b040e8b6dc70ec0b2b (patch) | |
tree | 1ffb4a14ca051d977d696e7af24fa847f149ee55 /src/decoder/fluidsynth_decoder_plugin.c | |
parent | 5d73215a8dad922c8e383f3837f3ec9e26503389 (diff) | |
download | mpd-ee16fc958c70946f934a86b040e8b6dc70ec0b2b.tar.gz mpd-ee16fc958c70946f934a86b040e8b6dc70ec0b2b.tar.xz mpd-ee16fc958c70946f934a86b040e8b6dc70ec0b2b.zip |
decoder/{mikmod,fluidsynth,mp4ff}: adapt to tag_handler API
Fixes build regression.
Diffstat (limited to '')
-rw-r--r-- | src/decoder/fluidsynth_decoder_plugin.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/decoder/fluidsynth_decoder_plugin.c b/src/decoder/fluidsynth_decoder_plugin.c index 814a7b554..085f84f14 100644 --- a/src/decoder/fluidsynth_decoder_plugin.c +++ b/src/decoder/fluidsynth_decoder_plugin.c @@ -219,15 +219,15 @@ fluidsynth_file_decode(struct decoder *decoder, const char *path_fs) delete_fluid_settings(settings); } -static struct tag * -fluidsynth_tag_dup(const char *file) +static bool +fluidsynth_scan_file(const char *file, + G_GNUC_UNUSED const struct tag_handler *handler, + G_GNUC_UNUSED void *handler_ctx) { - struct tag *tag = tag_new(); - /* to be implemented */ (void)file; - return tag; + return true; } static const char *const fluidsynth_suffixes[] = { @@ -239,6 +239,6 @@ const struct decoder_plugin fluidsynth_decoder_plugin = { .name = "fluidsynth", .init = fluidsynth_init, .file_decode = fluidsynth_file_decode, - .tag_dup = fluidsynth_tag_dup, + .scan_file = fluidsynth_scan_file, .suffixes = fluidsynth_suffixes, }; |