You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/rtsp: add av_assert0() to clarify that the else case is supposed to be unreachable
If its reachable then theres a bug as err would be uninitialized Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1797,6 +1797,8 @@ redirect:
|
||||
err = ff_rtsp_setup_input_streams(s, reply);
|
||||
else if (CONFIG_RTSP_MUXER)
|
||||
err = ff_rtsp_setup_output_streams(s, host);
|
||||
else
|
||||
av_assert0(0);
|
||||
if (err)
|
||||
goto fail;
|
||||
|
||||
|
Reference in New Issue
Block a user