From 0b614fbaae9089d6d1ce981735a51f2a5b3cbf65 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 1 Nov 2008 14:54:09 +0100 Subject: decoder: make all decoder_plugin structs const All decoder_plugin structs are initialized at compile time, and must never change. --- src/decoder/aac_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder/aac_plugin.c') diff --git a/src/decoder/aac_plugin.c b/src/decoder/aac_plugin.c index 7e6b8c916..3ae5e3d58 100644 --- a/src/decoder/aac_plugin.c +++ b/src/decoder/aac_plugin.c @@ -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, -- cgit v1.2.3