]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Make the id3v1_genre_str array const, not just the strings it points to.
authorreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 24 Aug 2008 12:45:15 +0000 (12:45 +0000)
committerreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 24 Aug 2008 12:45:15 +0000 (12:45 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14942 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/mp3.c

index 1e4f21c5b26f24b77393fd4ec623dff4c0702a5e..ae63d6c3411cf061ee5b2a16fe401ff4689057fe 100644 (file)
@@ -30,7 +30,7 @@
 
 #define ID3v1_GENRE_MAX 125
 
-static const char *id3v1_genre_str[ID3v1_GENRE_MAX + 1] = {
+static const char * const id3v1_genre_str[ID3v1_GENRE_MAX + 1] = {
     [0] = "Blues",
     [1] = "Classic Rock",
     [2] = "Country",