OSDN Git Service

use rtp_get_local_rtp_port() instead of the deprecated rtp_get_local_port()
authorAurelien Jacobs <aurel@gnuage.org>
Sat, 23 Oct 2010 16:19:53 +0000 (16:19 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sat, 23 Oct 2010 16:19:53 +0000 (16:19 +0000)
Originally committed as revision 25554 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index d524ba8..c34bcdb 100644 (file)
@@ -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);