[FFmpeg-cvslog] r14943 - trunk/libavformat/matroskadec.c

aurel subversion
Sun Aug 24 15:12:41 CEST 2008


Author: aurel
Date: Sun Aug 24 15:12:41 2008
New Revision: 14943

Log:
matroskadec: make aac_profiles array const


Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Sun Aug 24 15:12:41 2008
@@ -1004,7 +1004,7 @@ static void matroska_execute_seekhead(Ma
 
 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++)




More information about the ffmpeg-cvslog mailing list