comparison mplayer.c @ 25606:a3f9b22287ca

Make some functions in mplayer.c static
author reimar
date Sun, 06 Jan 2008 22:03:59 +0000
parents 7bdd28e3fca7
children 27ffe914df15
comparison
equal deleted inserted replaced
25605:cae067bfc231 25606:a3f9b22287ca
831 free(conffile); 831 free(conffile);
832 } 832 }
833 } 833 }
834 } 834 }
835 835
836 void load_per_file_config (m_config_t* conf, const char *const file) 836 static void load_per_file_config (m_config_t* conf, const char *const file)
837 { 837 {
838 char *confpath; 838 char *confpath;
839 char cfg[strlen(file)+10]; 839 char cfg[strlen(file)+10];
840 struct stat st; 840 struct stat st;
841 char *name; 841 char *name;
892 return eof; 892 return eof;
893 } 893 }
894 894
895 #define mp_basename(s) (strrchr(s,'\\')==NULL?(mp_basename2(s)):(strrchr(s,'\\')+1)) 895 #define mp_basename(s) (strrchr(s,'\\')==NULL?(mp_basename2(s)):(strrchr(s,'\\')+1))
896 896
897 int playtree_add_playlist(play_tree_t* entry) 897 static int playtree_add_playlist(play_tree_t* entry)
898 { 898 {
899 play_tree_add_bpf(entry,filename); 899 play_tree_add_bpf(entry,filename);
900 900
901 #ifdef HAVE_NEW_GUI 901 #ifdef HAVE_NEW_GUI
902 if (use_gui) { 902 if (use_gui) {
2080 *blit_frame = 1; 2080 *blit_frame = 1;
2081 } 2081 }
2082 return frame_time; 2082 return frame_time;
2083 } 2083 }
2084 2084
2085 void pause_loop(void) 2085 static void pause_loop(void)
2086 { 2086 {
2087 mp_cmd_t* cmd; 2087 mp_cmd_t* cmd;
2088 if (!quiet) { 2088 if (!quiet) {
2089 // Small hack to display the pause message on the OSD line. 2089 // Small hack to display the pause message on the OSD line.
2090 // The pause string is: "\n == PAUSE == \r" so we need to 2090 // The pause string is: "\n == PAUSE == \r" so we need to