diff options
author | wm4 <wm4@nowhere> | 2012-10-31 22:35:48 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-31 22:35:48 +0100 |
commit | 334db4cad219735c0327c079597c7e37fb9dce8b (patch) | |
tree | 386583984fdcde934b9022720f3fafd817d81f17 | |
parent | d02b8191bfd7c827462eea644f7c981ee9febc7f (diff) | |
download | mpv-334db4cad219735c0327c079597c7e37fb9dce8b.tar.bz2 mpv-334db4cad219735c0327c079597c7e37fb9dce8b.tar.xz |
mplayer: mark exit_player as noreturn
Similar to mplayer-svn commit r35291.
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -23,6 +23,7 @@ #include <assert.h> #include <libavutil/intreadwrite.h> +#include <libavutil/attributes.h> #include "config.h" #include "talloc.h" @@ -575,7 +576,8 @@ void uninit_player(struct MPContext *mpctx, unsigned int mask) } } -static void exit_player(struct MPContext *mpctx, enum exit_reason how, int rc) +static av_noreturn void exit_player(struct MPContext *mpctx, + enum exit_reason how, int rc) { uninit_player(mpctx, INITIALIZED_ALL); |