matroskadec: make aac_profiles array const

Originally committed as revision 14943 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Aurelien Jacobs 16 years ago
parent 1bef65f4fe
commit ba18b99ffa
  1. 2
      libavformat/matroskadec.c

@ -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++)

Loading…
Cancel
Save