Commit ba18b99f authored by Aurelien Jacobs's avatar Aurelien Jacobs

matroskadec: make aac_profiles array const

Originally committed as revision 14943 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1bef65f4
...@@ -1004,7 +1004,7 @@ static void matroska_execute_seekhead(MatroskaDemuxContext *matroska) ...@@ -1004,7 +1004,7 @@ static void matroska_execute_seekhead(MatroskaDemuxContext *matroska)
static int matroska_aac_profile(char *codec_id) 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; int profile;
for (profile=0; profile<ARRAY_SIZE(aac_profiles); profile++) for (profile=0; profile<ARRAY_SIZE(aac_profiles); profile++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment