<div dir="ltr"><font color="#000000">By looking at <a href="https://ffmpeg.org/doxygen/trunk/group__lavu__error.html#ga2a19ca30d1962b51488a7210e8b68919">https://ffmpeg.org/doxygen/trunk/group__lavu__error.html#ga2a19ca30d1962b51488a7210e8b68919</a> </font><div><span style="background-color:rgb(255,255,255)"><font color="#000000">it appears to be ffmpeg compress most of <a class="gmail-code" href="https://ffmpeg.org/doxygen/3.3/rtspcodes_8h.html#a5d7a49060418fc68de2e6ae781e91953" style="text-decoration-line:none;font-family:monospace,fixed;font-size:13px;white-space:pre-wrap">RTSPStatusCode</a>s to <span style="font-family:"JetBrains Mono",monospace;font-size:9.8pt">AVERROR_HTTP_OTHER_4XX.</span></font></span></div><div><br></div><div>Can I get specifically RTSPStatusCode from AVError</div><div>to compare with the rest of the codes from <a href="https://ffmpeg.org/doxygen/3.3/rtspcodes_8h.html#a5d7a49060418fc68de2e6ae781e91953">https://ffmpeg.org/doxygen/3.3/rtspcodes_8h.html#a5d7a49060418fc68de2e6ae781e91953</a> ?</div><div><br></div><div>For example I want to check 'ret = open_format_context(...)' for <font color="#000000">'</font><a class="gmail-code" href="https://ffmpeg.org/doxygen/3.3/rtspcodes_8h.html#a5d7a49060418fc68de2e6ae781e91953abb638992e412250d2dd6951a9cdff467" style="font-size:13px;color:rgb(70,101,162);text-decoration-line:none;font-family:monospace,fixed;white-space:pre-wrap;background-color:rgb(251,252,253)">RTSP_STATUS_TRANSPORT</a>'</div></div>