diff options
author | Max Kellermann <max@duempel.org> | 2008-09-29 15:54:27 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-29 15:54:27 +0200 |
commit | 21d3d300fdfa5d5e65bf22ec59fd37550d3c2dac (patch) | |
tree | a1e59b7c540df8955de3a79620d3bcfd102a4095 /src/inputPlugins | |
parent | a7651b9d307efe2473bd68510aa9a6225e7a0b64 (diff) | |
download | mpd-21d3d300fdfa5d5e65bf22ec59fd37550d3c2dac.tar.gz mpd-21d3d300fdfa5d5e65bf22ec59fd37550d3c2dac.tar.xz mpd-21d3d300fdfa5d5e65bf22ec59fd37550d3c2dac.zip |
decoder: renamed plugin methods
Why have a "_func" prefix on all method names? Also don't typedef the
methods, there is no advantage in that.
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/flac_plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index fb518871a..10e8a59ef 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -445,9 +445,9 @@ static int flac_plugin_init(void) DEBUG("libFLAC supports OggFLAC, initializing OggFLAC support\n"); assert(oggflacPlugin.name == NULL); oggflacPlugin.name = "oggflac"; - oggflacPlugin.try_decode_func = oggflac_try_decode; - oggflacPlugin.stream_decode_func = oggflac_decode; - oggflacPlugin.tag_dup_func = oggflac_tag_dup; + oggflacPlugin.try_decode = oggflac_try_decode; + oggflacPlugin.stream_decode = oggflac_decode; + oggflacPlugin.tag_dup = oggflac_tag_dup; oggflacPlugin.stream_types = INPUT_PLUGIN_STREAM_URL | INPUT_PLUGIN_STREAM_FILE; oggflacPlugin.suffixes = oggflac_suffixes; |