[SCM] libav/experimental: use rtp_get_local_rtp_port() instead of the deprecated rtp_get_local_port()

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:18:02 UTC 2013


The following commit has been merged in the experimental branch:
commit 67f34aaa9746f6446baf112639ff8c6e5a0fa4ba
Author: Aurelien Jacobs <aurel at gnuage.org>
Date:   Sat Oct 23 16:19:53 2010 +0000

    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

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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list