diff options
author | Niklas Haas <git@haasn.dev> | 2021-11-03 15:15:20 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2021-11-03 15:15:20 +0100 |
commit | 8bd0dee531e3dfbc076bc06ab9c2ea0e3b4e2419 (patch) | |
tree | 711a7721171eec477016a9d7fcfb892376b72371 /video/out/gpu/video.c | |
parent | 701bd783cafa9fbe6dc5c34d8784193179a9290d (diff) | |
download | mpv-8bd0dee531e3dfbc076bc06ab9c2ea0e3b4e2419.tar.bz2 mpv-8bd0dee531e3dfbc076bc06ab9c2ea0e3b4e2419.tar.xz |
osdep: rename MP_UNREACHABLE
It was pointed out on IRC that the name is misleading, since the actual
semantics of the macro is to assert first.
Diffstat (limited to 'video/out/gpu/video.c')
-rw-r--r-- | video/out/gpu/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c index 43fff511a1..add7985f78 100644 --- a/video/out/gpu/video.c +++ b/video/out/gpu/video.c @@ -4237,7 +4237,7 @@ static void gl_video_dr_free_buffer(void *opaque, uint8_t *data) } } // not found - must not happen - MP_UNREACHABLE(); + MP_ASSERT_UNREACHABLE(); } struct mp_image *gl_video_get_image(struct gl_video *p, int imgfmt, int w, int h, |