From c4e8ac3d0ebbec3d216db850a30466d5b029f2c5 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Tue, 8 Jul 2025 16:19:34 +0200 Subject: [PATCH] avformat/rtsp: use av_unreachable --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index cde4447c8e..5ef6dad315 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2004,7 +2004,7 @@ redirect: if (CONFIG_RTSP_MUXER) err = ff_rtsp_setup_output_streams(s, host); else - av_assert0(0); + av_unreachable("Either muxer or demuxer must be enabled"); if (err) goto fail;