[MPlayer-cvslog] r35291 - trunk/mp_core.h

reimar subversion at mplayerhq.hu
Tue Oct 30 17:58:50 CET 2012


Author: reimar
Date: Tue Oct 30 17:58:50 2012
New Revision: 35291

Log:
Mark exit_player functions as noreturn.

Modified:
   trunk/mp_core.h

Modified: trunk/mp_core.h
==============================================================================
--- trunk/mp_core.h	Tue Oct 30 17:51:25 2012	(r35290)
+++ trunk/mp_core.h	Tue Oct 30 17:58:50 2012	(r35291)
@@ -29,6 +29,7 @@
 #include "mixer.h"
 #include "libvo/video_out.h"
 #include "sub/subreader.h"
+#include "libavutil/attributes.h"
 
 // definitions used internally by the core player code
 
@@ -152,8 +153,8 @@ void uninit_player(unsigned int mask);
 void reinit_audio_chain(void);
 double playing_audio_pts(sh_audio_t *sh_audio, demux_stream_t *d_audio,
 			 const ao_functions_t *audio_out);
-void exit_player(enum exit_reason how);
-void exit_player_with_rc(enum exit_reason how, int rc);
+av_noreturn void exit_player(enum exit_reason how);
+av_noreturn void exit_player_with_rc(enum exit_reason how, int rc);
 void add_subtitles(char *filename, float fps, int noerr);
 int reinit_video_chain(void);
 


More information about the MPlayer-cvslog mailing list