mirror of https://git.ffmpeg.org/ffmpeg.git
rtsp: Properly fail if unable to open an input RTP port
Originally committed as revision 26285 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e6dba1d881
commit
a3b058b7ba
|
@ -1093,6 +1093,10 @@ static int make_setup_request(AVFormatContext *s, const char *host, int port,
|
|||
err = AVERROR_INVALIDDATA;
|
||||
goto fail;
|
||||
}
|
||||
#else
|
||||
av_log(s, AV_LOG_ERROR, "Unable to open an input RTP port\n");
|
||||
err = AVERROR(EIO);
|
||||
goto fail;
|
||||
#endif
|
||||
|
||||
rtp_opened:
|
||||
|
|
Loading…
Reference in New Issue