From 8bd0dee531e3dfbc076bc06ab9c2ea0e3b4e2419 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 3 Nov 2021 15:15:20 +0100 Subject: 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. --- demux/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demux/demux.c') diff --git a/demux/demux.c b/demux/demux.c index 7e68a05c2f..f2928a5cc9 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -1506,7 +1506,7 @@ static void find_backward_restart_pos(struct demux_stream *ds) // Or if preroll is involved, the first preroll packet. while (ds->reader_head != target) { if (!advance_reader_head(ds)) - MP_UNREACHABLE(); // target must be in list + MP_ASSERT_UNREACHABLE(); // target must be in list } double seek_pts; -- cgit v1.2.3