diff mp_core.h @ 30516:f4e017b6921a

Fix exit_player() usage throughout the codebase. exit_player() was declared with differing parameter types in mplayer.c and mplayer.h. Make the declaration in the .h file match the one in the .c file and adjust all usages of exit_player() throughout the codebase. Also move the exit_player() declaration into mp_core.h next to exit_player_with_rc().
author diego
date Sun, 14 Feb 2010 10:53:20 +0000
parents c1a3f1bbba26
children 654cad7ea876
line wrap: on
line diff
--- a/mp_core.h	Sun Feb 14 09:19:30 2010 +0000
+++ b/mp_core.h	Sun Feb 14 10:53:20 2010 +0000
@@ -154,6 +154,7 @@
 void init_vo_spudec(void);
 double playing_audio_pts(sh_audio_t *sh_audio, demux_stream_t *d_audio,
 			 const ao_functions_t *audio_out);
+void exit_player(exit_reason_t how);
 void exit_player_with_rc(exit_reason_t how, int rc);
 void add_subtitles(char *filename, float fps, int noerr);
 int reinit_video_chain(void);