Commit a3b058b7 authored by Martin Storsjö's avatar Martin Storsjö

rtsp: Properly fail if unable to open an input RTP port

Originally committed as revision 26285 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e6dba1d8
......@@ -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:
......
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