matroskadec: make aac_profiles array const
authorAurelien Jacobs <aurel@gnuage.org>
Sun, 24 Aug 2008 13:12:41 +0000 (13:12 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sun, 24 Aug 2008 13:12:41 +0000 (13:12 +0000)
Originally committed as revision 14943 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroskadec.c

index 8405e25..fd9652f 100644 (file)
@@ -1004,7 +1004,7 @@ static void matroska_execute_seekhead(MatroskaDemuxContext *matroska)
 
 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++)