diff --git a/libavformat/mp3.c b/libavformat/mp3.c index 1e4f21c5b2..ae63d6c341 100644 --- a/libavformat/mp3.c +++ b/libavformat/mp3.c @@ -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",