aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/oggvorbis_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/oggvorbis_plugin.c')
-rw-r--r--src/decoder/oggvorbis_plugin.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/decoder/oggvorbis_plugin.c b/src/decoder/oggvorbis_plugin.c
index 4531aac40..14cb48278 100644
--- a/src/decoder/oggvorbis_plugin.c
+++ b/src/decoder/oggvorbis_plugin.c
@@ -368,11 +368,13 @@ oggvorbis_try_decode(struct input_stream *inStream)
return ogg_stream_type_detect(inStream) == VORBIS;
}
-static const char *oggvorbis_Suffixes[] = { "ogg","oga", NULL };
-static const char *oggvorbis_MimeTypes[] = { "application/ogg",
- "audio/x-vorbis+ogg",
- "application/x-ogg",
- NULL };
+static const char *const oggvorbis_Suffixes[] = { "ogg","oga", NULL };
+static const char *const oggvorbis_MimeTypes[] = {
+ "application/ogg",
+ "audio/x-vorbis+ogg",
+ "application/x-ogg",
+ NULL
+};
const struct decoder_plugin oggvorbisPlugin = {
.name = "oggvorbis",