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:
parent
20aac40571
commit
7f2af3f56b
@ -1797,6 +1797,8 @@ redirect:
|
|||||||
err = ff_rtsp_setup_input_streams(s, reply);
|
err = ff_rtsp_setup_input_streams(s, reply);
|
||||||
else if (CONFIG_RTSP_MUXER)
|
else if (CONFIG_RTSP_MUXER)
|
||||||
err = ff_rtsp_setup_output_streams(s, host);
|
err = ff_rtsp_setup_output_streams(s, host);
|
||||||
|
else
|
||||||
|
av_assert0(0);
|
||||||
if (err)
|
if (err)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user