[MPlayer-cvslog] r36483 - trunk/libmpcodecs/ad_mpg123.c

reimar subversion at mplayerhq.hu
Fri Oct 25 21:59:55 CEST 2013


Author: reimar
Date: Fri Oct 25 21:59:54 2013
New Revision: 36483

Log:
Add some missing "const".

Modified:
   trunk/libmpcodecs/ad_mpg123.c

Modified: trunk/libmpcodecs/ad_mpg123.c
==============================================================================
--- trunk/libmpcodecs/ad_mpg123.c	Thu Oct 24 14:06:41 2013	(r36482)
+++ trunk/libmpcodecs/ad_mpg123.c	Fri Oct 25 21:59:54 2013	(r36483)
@@ -175,13 +175,13 @@ static int compute_bitrate(struct mpg123
  * also throw in ID3v2 info which libmpg123 collects anyway. */
 static void print_header_compact(struct mpg123_frameinfo *i)
 {
-    static const char *smodes[5] = {
+    static const char * const smodes[5] = {
         "stereo", "joint-stereo", "dual-channel", "mono", "invalid"
     };
-    static const char *layers[4] = {
+    static const char * const layers[4] = {
         "Unknown", "I", "II", "III"
     };
-    static const char *versions[4] = {
+    static const char * const versions[4] = {
         "1.0", "2.0", "2.5", "x.x"
     };
 


More information about the MPlayer-cvslog mailing list