[FFmpeg-devel] [PATCH 2/3] avformat/rtsp: use av_unreachable
Marvin Scholz
epirat07 at gmail.com
Tue Jul 8 18:09:17 EEST 2025
---
libavformat/rtsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 6201f09136..c6203a07de 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -2001,7 +2001,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;
--
2.39.5 (Apple Git-154)
More information about the ffmpeg-devel
mailing list