diff options
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index d524ba8..c34bcdb 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -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); |