Commit 7f2af3f5 authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 20aac405
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment