summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-10 16:20:00 +0100
committerwm4 <wm4@nowhere>2012-11-12 20:10:23 +0100
commit5afacef0e4d80a77518d65d83947b9f7a2630c34 (patch)
tree41527cf401adf4fc1a8994d6398db3608bee5b73 /core
parenta6c4f2646fda50e5661acdb8739d1b54ddb38ede (diff)
downloadmpv-5afacef0e4d80a77518d65d83947b9f7a2630c34.tar.bz2
mpv-5afacef0e4d80a77518d65d83947b9f7a2630c34.tar.xz
Add MP_NORETURN and replace av_noreturn uses
av_noreturn is a rather recent addition to libavutil, and defining it ourselves is trivial and makes playing compatibility games easier.
Diffstat (limited to 'core')
-rw-r--r--core/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 180bb2a011..1a9fe04f4c 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -576,7 +576,7 @@ void uninit_player(struct MPContext *mpctx, unsigned int mask)
}
}
-static av_noreturn void exit_player(struct MPContext *mpctx,
+static MP_NORETURN void exit_player(struct MPContext *mpctx,
enum exit_reason how, int rc)
{
uninit_player(mpctx, INITIALIZED_ALL);