summaryrefslogtreecommitdiffstats
path: root/video/repack.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2021-11-03 15:15:20 +0100
committerNiklas Haas <git@haasn.dev>2021-11-03 15:15:20 +0100
commit8bd0dee531e3dfbc076bc06ab9c2ea0e3b4e2419 (patch)
tree711a7721171eec477016a9d7fcfb892376b72371 /video/repack.c
parent701bd783cafa9fbe6dc5c34d8784193179a9290d (diff)
downloadmpv-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/repack.c')
-rw-r--r--video/repack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/repack.c b/video/repack.c
index 7973208caf..d50f642cb1 100644
--- a/video/repack.c
+++ b/video/repack.c
@@ -169,7 +169,7 @@ static void swap_endian(struct mp_image *dst, int dst_x, int dst_y,
((uint32_t *)d)[x] = av_bswap32(((uint32_t *)s)[x]);
break;
default:
- MP_UNREACHABLE();
+ MP_ASSERT_UNREACHABLE();
}
}
}