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/mp_image.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/mp_image.c')
-rw-r--r-- | video/mp_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/mp_image.c b/video/mp_image.c index e8d433cbfe..484108c315 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -593,7 +593,7 @@ static bool endian_swap_bytes(void *d, size_t bytes, size_t word_size) AV_WL32(ud + x * 2, AV_RB32(ud + x * 2)); break; default: - MP_UNREACHABLE(); + MP_ASSERT_UNREACHABLE(); } return true; |