提交 67f34aaa 编写于 作者: A Aurelien Jacobs

use rtp_get_local_rtp_port() instead of the deprecated rtp_get_local_port()

Originally committed as revision 25554 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 fbd4a07d
......@@ -1019,7 +1019,7 @@ static int make_setup_request(AVFormatContext *s, const char *host, int port,
#endif
rtp_opened:
port = rtp_get_local_port(rtsp_st->rtp_handle);
port = rtp_get_local_rtp_port(rtsp_st->rtp_handle);
have_port:
snprintf(transport, sizeof(transport) - 1,
"%s/UDP;", trans_pref);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册