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

@@ -589,7 +589,7 @@ static struct tag *aacTagDup(const char *file)
static const char *aac_suffixes[] = { "aac", NULL };
static const char *aac_mimeTypes[] = { "audio/aac", "audio/aacp", NULL };
struct decoder_plugin aacPlugin = {
const struct decoder_plugin aacPlugin = {
.name = "aac",
.stream_decode = aac_stream_decode,
.file_decode = aac_decode,