[FFmpeg-cvslog] r19781 - in trunk/libavformat: id3v1.c id3v1.h
reimar
subversion
Sun Sep 6 10:39:41 CEST 2009
Author: reimar
Date: Sun Sep 6 10:39:41 2009
New Revision: 19781
Log:
ff_id3v1_genre_str table should be const.
Modified:
trunk/libavformat/id3v1.c
trunk/libavformat/id3v1.h
Modified: trunk/libavformat/id3v1.c
==============================================================================
--- trunk/libavformat/id3v1.c Sun Sep 6 10:36:25 2009 (r19780)
+++ trunk/libavformat/id3v1.c Sun Sep 6 10:39:41 2009 (r19781)
@@ -22,7 +22,7 @@
#include "id3v1.h"
#include "libavcodec/avcodec.h"
-const char *ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1] = {
+const char * const ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1] = {
[0] = "Blues",
[1] = "Classic Rock",
[2] = "Country",
Modified: trunk/libavformat/id3v1.h
==============================================================================
--- trunk/libavformat/id3v1.h Sun Sep 6 10:36:25 2009 (r19780)
+++ trunk/libavformat/id3v1.h Sun Sep 6 10:39:41 2009 (r19781)
@@ -31,7 +31,7 @@
/**
* ID3v1 genres
*/
-extern const char *ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1];
+extern const char * const ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1];
/**
* Read an ID3v1 tag
More information about the ffmpeg-cvslog
mailing list