[FFmpeg-cvslog] avformat/rtsp: use av_unreachable
Marvin Scholz
git at videolan.org
Fri Jul 11 17:34:12 EEST 2025
ffmpeg | branch: master | Marvin Scholz <epirat07 at gmail.com> | Tue Jul 8 16:19:34 2025 +0200| [c4e8ac3d0ebbec3d216db850a30466d5b029f2c5] | committer: Marvin Scholz
avformat/rtsp: use av_unreachable
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c4e8ac3d0ebbec3d216db850a30466d5b029f2c5
---
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;
More information about the ffmpeg-cvslog
mailing list