decoder: make the suffixes and mime_types arrays really const
The strings were constant, but the pointers weren't. C syntax is somewhat tricky..
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user