summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 10:53:20 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 10:53:20 +0000
commit11b55ec7a89c8605401e40b6a4c56ca8971350da (patch)
tree0058d789332d87fbdbb29b67274548213a762432 /mp_core.h
parent3e5d40ff2e9a45cb4f55f23b787f32bf359bd3d5 (diff)
downloadmpv-11b55ec7a89c8605401e40b6a4c56ca8971350da.tar.bz2
mpv-11b55ec7a89c8605401e40b6a4c56ca8971350da.tar.xz
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(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30558 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index 83eca9ebe1..c26dff3de4 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -154,6 +154,7 @@ void reinit_audio_chain(void);
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);