changeset 3762:beb15b4fd4c4 libavformat

matroskadec: make aac_profiles array const
author aurel
date Sun, 24 Aug 2008 13:12:41 +0000
parents 3a874c41adaf
children 457a89a670cf
files matroskadec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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++)