diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-18 18:50:46 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-18 18:50:46 +0000 |
commit | 1ab5699571b88c3892add309f8d8a812915bda9c (patch) | |
tree | 136160918a0526770075165b3de2e946f05d20ef /mp_msg.c | |
parent | fd8687ce8ab8a52d17a60d9f4161977c79592276 (diff) | |
download | mpv-1ab5699571b88c3892add309f8d8a812915bda9c.tar.bz2 mpv-1ab5699571b88c3892add309f8d8a812915bda9c.tar.xz |
Fix possible crashes with colorized mplayer output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21669 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_msg.c')
-rw-r--r-- | mp_msg.c | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -131,8 +131,10 @@ void mp_msg(int mod, int lev, const char *format, ... ){ "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 @@ void mp_msg(int mod, int lev, const char *format, ... ){ "SUBREADER", "AFILTER", "NETST", - "MUXER"}; + "MUXER", + "OSDMENU", + "IDENTIFY", + "RADIO", + "ASS", + "LOADER", + }; int c=v_colors[lev]; int c2=(mod+1)%15+1; |