This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 36b23092f9 avformat/rtsp: replace the deprecated `localport` with 
`localrtpport`
36b23092f9 is described below

commit 36b23092f9d21e91ea22e6d933e672fe279e8fe0
Author:     Jack Lau <[email protected]>
AuthorDate: Tue Feb 3 10:10:15 2026 +0800
Commit:     Marton Balint <[email protected]>
CommitDate: Wed Feb 4 00:26:26 2026 +0000

    avformat/rtsp: replace the deprecated `localport` with `localrtpport`
    
    The `localport` already deprecated in 
3a29702cb6b8f9dcb1aa66bb65d04b392f9de98d
    
    Signed-off-by: Jack Lau <[email protected]>
---
 libavformat/rtsp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index e8f44e571a..6b88da182c 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1567,7 +1567,7 @@ int ff_rtsp_make_setup_request(AVFormatContext *s, const 
char *host, int port,
                 AVDictionary *opts = map_to_opts(rt);
 
                 ff_url_join(buf, sizeof(buf), "rtp", NULL, host, -1,
-                            "?localport=%d", j);
+                            "?localrtpport=%d", j);
                 /* we will use two ports per rtp stream (rtp and rtcp) */
                 j += 2;
                 err = ffurl_open_whitelist(&rtsp_st->rtp_handle, buf, 
AVIO_FLAG_READ_WRITE,
@@ -2509,7 +2509,7 @@ static int sdp_read_header(AVFormatContext *s)
             }
             ff_url_join(url, sizeof(url), "rtp", NULL,
                         namebuf, rtsp_st->sdp_port,
-                        "?localport=%d&ttl=%d&connect=%d&write_to_source=%d",
+                        
"?localrtpport=%d&ttl=%d&connect=%d&write_to_source=%d",
                         rtsp_st->sdp_port, rtsp_st->sdp_ttl,
                         rt->rtsp_flags & RTSP_FLAG_FILTER_SRC ? 1 : 0,
                         rt->rtsp_flags & RTSP_FLAG_RTCP_TO_SOURCE ? 1 : 0);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to