aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/ffmpeg_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-15 18:34:14 +0100
committerMax Kellermann <max@duempel.org>2009-02-15 18:34:14 +0100
commitdec5d48f80428575c7a1b9eeba961b0055156500 (patch)
tree2b13402d6e5bbf72a0ae658b546454a83538dc93 /src/decoder/ffmpeg_plugin.c
parent900784bb4ebd6613223164e222f19abd3a312a93 (diff)
downloadmpd-dec5d48f80428575c7a1b9eeba961b0055156500.tar.gz
mpd-dec5d48f80428575c7a1b9eeba961b0055156500.tar.xz
mpd-dec5d48f80428575c7a1b9eeba961b0055156500.zip
decoder_plugin: pass struct config_param to init() method
Preparing for per-plugin configuration sections in mpd.conf.
Diffstat (limited to 'src/decoder/ffmpeg_plugin.c')
-rw-r--r--src/decoder/ffmpeg_plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c
index 8a379814f..8048b1c26 100644
--- a/src/decoder/ffmpeg_plugin.c
+++ b/src/decoder/ffmpeg_plugin.c
@@ -120,7 +120,8 @@ static URLProtocol mpd_ffmpeg_fileops = {
.url_close = mpd_ffmpeg_close,
};
-static bool ffmpeg_init(void)
+static bool
+ffmpeg_init(G_GNUC_UNUSED const struct config_param *param)
{
av_register_all();
register_protocol(&mpd_ffmpeg_fileops);