diff options
author | Max Kellermann <max@duempel.org> | 2008-11-01 14:54:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-01 14:54:09 +0100 |
commit | 0b614fbaae9089d6d1ce981735a51f2a5b3cbf65 (patch) | |
tree | bc1f7fc067f7f794b34dfed31083fd9eb13dcd19 /src/decoder/mp4_plugin.c | |
parent | 1a4a3e1f1f09ade38095757952bbf732ec275fe8 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/decoder/mp4_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/mp4_plugin.c b/src/decoder/mp4_plugin.c index 8fe2b18f8..ae0fe49f9 100644 --- a/src/decoder/mp4_plugin.c +++ b/src/decoder/mp4_plugin.c @@ -413,7 +413,7 @@ static struct tag *mp4TagDup(const char *file) static const char *mp4_suffixes[] = { "m4a", "mp4", NULL }; static const char *mp4_mimeTypes[] = { "audio/mp4", "audio/m4a", NULL }; -struct decoder_plugin mp4Plugin = { +const struct decoder_plugin mp4Plugin = { .name = "mp4", .stream_decode = mp4_decode, .tag_dup = mp4TagDup, |