From 4c1b96c30721f78d9251a8074d4d516c37e755b9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 1 Nov 2008 14:55:23 +0100 Subject: decoder: make the suffixes and mime_types arrays really const The strings were constant, but the pointers weren't. C syntax is somewhat tricky.. --- src/decoder/mod_plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/decoder/mod_plugin.c') diff --git a/src/decoder/mod_plugin.c b/src/decoder/mod_plugin.c index ad6f390a4..d927f0da4 100644 --- a/src/decoder/mod_plugin.c +++ b/src/decoder/mod_plugin.c @@ -263,7 +263,8 @@ static struct tag *modTagDup(const char *file) return ret; } -static const char *modSuffixes[] = { "amf", +static const char *const modSuffixes[] = { + "amf", "dsm", "far", "gdm", -- cgit v1.2.3