diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:04 +0200 |
commit | 154aa496e8c18bba3dc10c607987c187f4686ae4 (patch) | |
tree | 32a2a35f74e823c5eea21bbfbebef1297fe6e989 /src/inputPlugins/mpc_plugin.c | |
parent | 241cd043ca4f9dd560e6d947a9bf025f58de4ea9 (diff) | |
download | mpd-154aa496e8c18bba3dc10c607987c187f4686ae4.tar.gz mpd-154aa496e8c18bba3dc10c607987c187f4686ae4.tar.xz mpd-154aa496e8c18bba3dc10c607987c187f4686ae4.zip |
added struct decoder
The decoder struct should later be made opaque to the decoder plugin,
because maintaining a stable struct ABI is quite difficult. The ABI
should only consist of a small number of stable functions.
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/mpc_plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inputPlugins/mpc_plugin.c b/src/inputPlugins/mpc_plugin.c index c6b13cdff..f69e9eddb 100644 --- a/src/inputPlugins/mpc_plugin.c +++ b/src/inputPlugins/mpc_plugin.c @@ -106,7 +106,8 @@ static inline mpd_sint16 convertSample(MPC_SAMPLE_FORMAT sample) return val; } -static int mpc_decode(InputStream * inStream) +static int mpc_decode(mpd_unused struct decoder * mpd_decoder, + InputStream * inStream) { mpc_decoder decoder; mpc_reader reader; |