# HG changeset patch # User diego # Date 1187174093 0 # Node ID 7e2808fb180775fcfbd71ca76e119c5379749bb8 # Parent 57f547f4ed89b8f1cdd7c00023eb4ccee02912a3 Identifiers should not start with two underscores. diff -r 57f547f4ed89 -r 7e2808fb1807 libvo/sub.c --- a/libvo/sub.c Wed Aug 15 09:34:53 2007 +0000 +++ b/libvo/sub.c Wed Aug 15 10:34:53 2007 +0000 @@ -50,7 +50,7 @@ }; //^ -char * __sub_osd_names[]={ +char * sub_osd_names[]={ MSGTR_VO_SUB_Seekbar, MSGTR_VO_SUB_Play, MSGTR_VO_SUB_Pause, @@ -65,7 +65,7 @@ MSGTR_VO_SUB_Hue, MSGTR_VO_SUB_Balance }; -char * __sub_osd_names_short[] ={ "", "|>", "||", "[]", "<<" , ">>", "", "", "", "", "", "", "" }; +char * sub_osd_names_short[] ={ "", "|>", "||", "[]", "<<" , ">>", "", "", "", "", "", "", "" }; //static int vo_font_loaded=-1; font_desc_t* vo_font=NULL; diff -r 57f547f4ed89 -r 7e2808fb1807 libvo/sub.h --- a/libvo/sub.h Wed Aug 15 09:34:53 2007 +0000 +++ b/libvo/sub.h Wed Aug 15 10:34:53 2007 +0000 @@ -98,8 +98,8 @@ #define OSD_PB_1 0x13 /* now in textform */ -extern char * __sub_osd_names[]; -extern char * __sub_osd_names_short[]; +extern char * sub_osd_names[]; +extern char * sub_osd_names_short[]; extern int sub_unicode; extern int sub_utf8; diff -r 57f547f4ed89 -r 7e2808fb1807 libvo/vo_aa.c --- a/libvo/vo_aa.c Wed Aug 15 09:34:53 2007 +0000 +++ b/libvo/vo_aa.c Wed Aug 15 10:34:53 2007 +0000 @@ -201,8 +201,8 @@ if (vo_osd_text && vo_osd_text[0] != 0) { int len; if(vo_osd_text[0] < 32) { - len = strlen(__sub_osd_names_short[vo_osd_text[0]]) + strlen(vo_osd_text+1) + 2; - aa_printf(c, 0, 0 , aaopt_osdcolor, "%s %s ", __sub_osd_names_short[vo_osd_text[0]], vo_osd_text+1); + len = strlen(sub_osd_names_short[vo_osd_text[0]]) + strlen(vo_osd_text+1) + 2; + aa_printf(c, 0, 0 , aaopt_osdcolor, "%s %s ", sub_osd_names_short[vo_osd_text[0]], vo_osd_text+1); } else { len = strlen(vo_osd_text) + 1; aa_printf(c, 0, 0 , aaopt_osdcolor, "%s ",vo_osd_text); @@ -221,7 +221,7 @@ printosdprogbar(void){ /* print mplayer osd-progbar */ if (vo_osd_progbar_type!=-1){ - osdpercent(1,1,0,255,vo_osd_progbar_value, __sub_osd_names[vo_osd_progbar_type], ""); + osdpercent(1,1,0,255,vo_osd_progbar_value, sub_osd_names[vo_osd_progbar_type], ""); } } static int diff -r 57f547f4ed89 -r 7e2808fb1807 libvo/vo_caca.c --- a/libvo/vo_caca.c Wed Aug 15 09:34:53 2007 +0000 +++ b/libvo/vo_caca.c Wed Aug 15 10:34:53 2007 +0000 @@ -287,7 +287,7 @@ { if (vo_osd_progbar_type != -1) osdpercent(MESSAGE_DURATION, 0, 255, - vo_osd_progbar_value, __sub_osd_names[vo_osd_progbar_type], + vo_osd_progbar_value, sub_osd_names[vo_osd_progbar_type], ""); }