[MPlayer-cvslog] r21669 - trunk/mp_msg.c

reimar subversion at mplayerhq.hu
Mon Dec 18 19:50:47 CET 2006


Author: reimar
Date: Mon Dec 18 19:50:46 2006
New Revision: 21669

Modified:
   trunk/mp_msg.c

Log:
Fix possible crashes with colorized mplayer output


Modified: trunk/mp_msg.c
==============================================================================
--- trunk/mp_msg.c	(original)
+++ trunk/mp_msg.c	Mon Dec 18 19:50:46 2006
@@ -131,8 +131,10 @@
                                 "V",
                                 "DGB2",
                                 "DGB3",
-                                "DGB4"};
-        static const char *mod_text[]= {
+                                "DGB4",
+                                "DBG5",
+        };
+        static const char *mod_text[MSGT_MAX]= {
                                 "GLOBAL",
                                 "CPLAYER",
                                 "GPLAYER",
@@ -172,7 +174,13 @@
                                 "SUBREADER",
                                 "AFILTER",
                                 "NETST",
-                                "MUXER"};
+                                "MUXER",
+                                "OSDMENU",
+                                "IDENTIFY",
+                                "RADIO",
+                                "ASS",
+                                "LOADER",
+        };
 
         int c=v_colors[lev];
         int c2=(mod+1)%15+1;



More information about the MPlayer-cvslog mailing list