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:
@@ -281,7 +281,7 @@ static const char *modSuffixes[] = { "amf",
|
||||
NULL
|
||||
};
|
||||
|
||||
struct decoder_plugin modPlugin = {
|
||||
const struct decoder_plugin modPlugin = {
|
||||
.name = "mod",
|
||||
.finish = mod_finishMikMod,
|
||||
.file_decode = mod_decode,
|
||||
|
||||
Reference in New Issue
Block a user