Skip to content

Commit 473f091

Browse files
author
reimar
committed
Mark exit_player functions as noreturn.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35291 b3059339-0415-0410-9bf9-f77b7e298cf2
1 parent 66a7e42 commit 473f091

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mp_core.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "mixer.h"
3030
#include "libvo/video_out.h"
3131
#include "sub/subreader.h"
32+
#include "libavutil/attributes.h"
3233

3334
// definitions used internally by the core player code
3435

@@ -152,8 +153,8 @@ void uninit_player(unsigned int mask);
152153
void reinit_audio_chain(void);
153154
double playing_audio_pts(sh_audio_t *sh_audio, demux_stream_t *d_audio,
154155
const ao_functions_t *audio_out);
155-
void exit_player(enum exit_reason how);
156-
void exit_player_with_rc(enum exit_reason how, int rc);
156+
av_noreturn void exit_player(enum exit_reason how);
157+
av_noreturn void exit_player_with_rc(enum exit_reason how, int rc);
157158
void add_subtitles(char *filename, float fps, int noerr);
158159
int reinit_video_chain(void);
159160

0 commit comments

Comments
 (0)