1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

mplayer: mark exit_player as noreturn

Similar to mplayer-svn commit r35291.
This commit is contained in:
wm4 2012-10-31 22:35:48 +01:00
parent d02b8191bf
commit 334db4cad2

View File

@ -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);