decoder: make all decoder_plugin structs const

All decoder_plugin structs are initialized at compile time, and must
never change.
This commit is contained in:
Max Kellermann
2008-11-01 14:54:09 +01:00
parent 1a4a3e1f1f
commit 0b614fbaae
12 changed files with 23 additions and 23 deletions

View File

@@ -343,7 +343,7 @@ static const char *oggflac_mime_types[] = { "audio/x-flac+ogg",
"application/x-ogg",
NULL };
struct decoder_plugin oggflacPlugin = {
const struct decoder_plugin oggflacPlugin = {
.name = "oggflac",
.try_decode = oggflac_try_decode,
.stream_decode = oggflac_decode,