ffmpeg | branch: master | Marvin Scholz <epira...@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;
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to