diff matroskadec.c @ 3762:beb15b4fd4c4 libavformat

matroskadec: make aac_profiles array const
author aurel
date Sun, 24 Aug 2008 13:12:41 +0000
parents 27537074f2a9
children 185fc71a641c
line wrap: on
line diff
--- a/matroskadec.c	Sun Aug 24 12:45:15 2008 +0000
+++ b/matroskadec.c	Sun Aug 24 13:12:41 2008 +0000
@@ -1004,7 +1004,7 @@
 
 static int matroska_aac_profile(char *codec_id)
 {
-    static const char *aac_profiles[] = { "MAIN", "LC", "SSR" };
+    static const char * const aac_profiles[] = { "MAIN", "LC", "SSR" };
     int profile;
 
     for (profile=0; profile<ARRAY_SIZE(aac_profiles); profile++)