diff mp3.c @ 3761:3a874c41adaf libavformat

Make the id3v1_genre_str array const, not just the strings it points to.
author reimar
date Sun, 24 Aug 2008 12:45:15 +0000
parents 3790cb6c893d
children e6aeb2733e34
line wrap: on
line diff
--- a/mp3.c	Sun Aug 24 05:55:46 2008 +0000
+++ b/mp3.c	Sun Aug 24 12:45:15 2008 +0000
@@ -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",