[MPlayer-dev-eng] [PATCH]Remove duplicated const

Carl Eugen Hoyos cehoyos at rainbow.studorg.tuwien.ac.at
Mon Oct 6 00:57:40 CEST 2008


Hi!

Attached patch removes one of two const's in two lines in 
libmpdemux/demux_ty_osd.c and fixes warnings when using icc.

I'll apply later this week if nobody objects, Carl Eugen
-------------- next part --------------
Index: libmpdemux/demux_ty_osd.c
===================================================================
--- libmpdemux/demux_ty_osd.c	(Revision 27720)
+++ libmpdemux/demux_ty_osd.c	(Arbeitskopie)
@@ -574,14 +574,14 @@
 static char TY_XDS_new[ 8 ][ 25 ][ 34 ];
 
 // Array of [ MPAARating|TVRating ][ NumberRatings ]
-static const char const *TY_XDS_CHIP[ 2 ][ 8 ] = 
+static const char *TY_XDS_CHIP[ 2 ][ 8 ] = 
 {
    { "(NOT APPLICABLE)", "G", "PG", "PG-13", "R", "NC-17", "X", "(NOT RATED)" },
    { "(NOT RATED)", "TV-Y", "TV-Y7", "TV-G", "TV-PG", "TV-14", "TV-MA", 
       "(NOT RATED)" }
 };
 
-static const char const *TY_XDS_modes[] = 
+static const char *TY_XDS_modes[] = 
 {
   "CURRENT",                        // 01h-02h current program
   "FUTURE ",                        // 03h-04h future program


More information about the MPlayer-dev-eng mailing list