aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/wavpack_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-01 14:54:09 +0100
committerMax Kellermann <max@duempel.org>2008-11-01 14:54:09 +0100
commit0b614fbaae9089d6d1ce981735a51f2a5b3cbf65 (patch)
treebc1f7fc067f7f794b34dfed31083fd9eb13dcd19 /src/decoder/wavpack_plugin.c
parent1a4a3e1f1f09ade38095757952bbf732ec275fe8 (diff)
downloadmpd-0b614fbaae9089d6d1ce981735a51f2a5b3cbf65.tar.gz
mpd-0b614fbaae9089d6d1ce981735a51f2a5b3cbf65.tar.xz
mpd-0b614fbaae9089d6d1ce981735a51f2a5b3cbf65.zip
decoder: make all decoder_plugin structs const
All decoder_plugin structs are initialized at compile time, and must never change.
Diffstat (limited to 'src/decoder/wavpack_plugin.c')
-rw-r--r--src/decoder/wavpack_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/wavpack_plugin.c b/src/decoder/wavpack_plugin.c
index 420edade6..c0fb8898d 100644
--- a/src/decoder/wavpack_plugin.c
+++ b/src/decoder/wavpack_plugin.c
@@ -562,7 +562,7 @@ wavpack_filedecode(struct decoder *decoder, const char *fname)
static char const *wavpackSuffixes[] = { "wv", NULL };
static char const *wavpackMimeTypes[] = { "audio/x-wavpack", NULL };
-struct decoder_plugin wavpackPlugin = {
+const struct decoder_plugin wavpackPlugin = {
.name = "wavpack",
.try_decode = wavpack_trydecode,
.stream_decode = wavpack_streamdecode,