[FFmpeg-cvslog] r14942 - trunk/libavformat/mp3.c

reimar subversion
Sun Aug 24 14:45:15 CEST 2008


Author: reimar
Date: Sun Aug 24 14:45:15 2008
New Revision: 14942

Log:
Make the id3v1_genre_str array const, not just the strings it points to.


Modified:
   trunk/libavformat/mp3.c

Modified: trunk/libavformat/mp3.c
==============================================================================
--- trunk/libavformat/mp3.c	(original)
+++ trunk/libavformat/mp3.c	Sun Aug 24 14:45:15 2008
@@ -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",




More information about the ffmpeg-cvslog mailing list