From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 0222C4BF4B for ; Tue, 3 Feb 2026 02:16:35 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'73l1mO/3Tu4yvblaGYjC+6sWXHAThkS6IDkMh6LkkBQ=', expected b'mQ6XJdyt/pB+k4BRyoiGgCe68qBnDREBfQXhQBNr8IA=')) header.d=ffmpeg.org header.i=@ffmpeg.org header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1770084987; h=mime-version : to : date : message-id : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=73l1mO/3Tu4yvblaGYjC+6sWXHAThkS6IDkMh6LkkBQ=; b=ypsSOk+IKJswW6P5EiA/U2raKlbzjRXu+APTuqCJMfWv13eO+Wamub2Pcc+4ykVFW6LLS HOR+slS0+/Xmf+f1PSLtNOgrueMqx3V3l3Qq6D8bFCzw1xe5eOsUVSXU8r57BHwiE7+Omh+ G3nzx0o58wF40L3k8KbfSZ+VaRUEVv0p5Vo0KWgzjmcPXH2jtC8BdwyFpRpGNTKQxt0WkhA 1G8nKolpy7SWt5Fo2pKdbIaEHda8lJt97AeqKNviSL61kA95dzH3Rv6Mw3hr4FuJZ18wEB1 47jmdqy1+ffP8I8I5V4d5fC/jaXJkiDFAXUuPHJx8bbHljtgVa2GtAg7MXPA== Received: from [172.20.0.4] (unknown [172.20.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 91D25690F7B; Tue, 3 Feb 2026 04:16:27 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1770084971; b=jL4Y1+UBuQ308IqN/IRwQKjw1mqK+YsG0/bbC0Yxkwqzl8KC7PIvpol58G/Rt+/Z0dola BIRYQRDfqCx4Rwluzkvw8dLwrGt4lpy+Cu5zVCzutx9YFggh954inmqbXzn/KNIY0BwwCQL sttXdrlxj8BSm3un2lsRaLvVtPF9ahnMqIvGJx1EU1dqoG679PTPIVA4QQuNYwqYbEkcTzj LPJTpz628PPtgib1jurN6fbvBAx90aDwlwX2NiRajg+6MrtR41XgeSxxpE12MVmUyDbjGJL Jhfe2ZLSEGHJyj+EUfJE2OLSIVVIM1qei8Ij0bIpZvTMxruKCVO2Ak1xNm5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1770084971; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=axEwgGq7pa7VLBkPKbf07yWjU3yHsDfM3pteI+i0U3E=; b=Dig3/cLZQM1DbRdTpE1rtE5UAbZQJGEopEoDBim0192jw68qU3GmyJmvcaPiCvDwv1eO3 /xtrbNRlBXdtKDfVY+rOZd5zXbXs9gFIEXJDjhs0j6vj1PrjLLYXEUy8+CRBCoBd4lfuce9 2vKVtSjPfj5dHb3u7gzezG/ig1A+qJcmrYa3SpzTA2nJWIYXOfRTnOggrfwRYpQxUdxEvwW xU2laS3Yd66FJ6XUxrLfpstxt8Bszx9DB7zNpYEvV9DH9oMWYDDbQqFFZKjlrhMHljqa6Nu DIVsY3X4W2InZ6MFIGMlfMexk6eG2u9nTnwtfZ3azR22UfQLqOx0J0dFAuQQ== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none; dmarc=pass header.from=ffmpeg.org policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=ffmpeg.org policy.dmarc=quarantine DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1770084964; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : date : from; bh=mQ6XJdyt/pB+k4BRyoiGgCe68qBnDREBfQXhQBNr8IA=; b=BJOasv4oQwNK2gzZ5ySgiH/dHATXSMaGmsJGAIpf8oWcmuEonsck+/t+fkc2vGbpBkPtd FBL+JA5W669H6mUMLdF1Yn6sYc3pQB+VzWMSDm1nG72Hktno/lRir2QhsCKMG6qi+7WWR/e V0tilEL5rFeoW8oiGT8SvVQ4RGpi3b1w88+VoVwsbq2GtDVAJmCD59KD66Iyy1eFacRuT8U AmyB4cuKnQvG4cFKFwWN+hODMkvN89nNDYhHOc1K96O0A7LlFX+PWaalpBwtyv0ChA5x22S LTKRC4fRXT/fmzVnB5SHH+lYCrH9l9YcOaq+PVm0aZPBCMWUaf1de+HIcAUA== Received: from c8d966988b92 (code.ffmpeg.org [188.245.149.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 68A5168F76F for ; Tue, 3 Feb 2026 04:16:04 +0200 (EET) MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Date: Tue, 03 Feb 2026 02:16:04 -0000 Message-ID: <177008496453.25.4059613988232677349@4457048688e7> Message-ID-Hash: 6AWBNIYCXHQF42NG2EPRQ7ZPUVIRUG3N X-Message-ID-Hash: 6AWBNIYCXHQF42NG2EPRQ7ZPUVIRUG3N X-MailFrom: code@ffmpeg.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PR] avformat/rtsp: replace the deprecated `localport` with `localrtpport` (PR #21633) List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Jack Lau via ffmpeg-devel Cc: Jack Lau Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: PR #21633 opened by Jack Lau (JackLau) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21633 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21633.patch The `localport` already deprecated in 3a29702cb6b8f9dcb1aa66bb65d04b392f9de98d Signed-off-by: Jack Lau >>From 52419cf14c9ea96b34bd59f2c7ebc3f2777ff28e Mon Sep 17 00:00:00 2001 From: Jack Lau Date: Tue, 3 Feb 2026 10:10:15 +0800 Subject: [PATCH] avformat/rtsp: replace the deprecated `localport` with `localrtpport` The `localport` already deprecated in 3a29702cb6b8f9dcb1aa66bb65d04b392f9de98d Signed-off-by: Jack Lau --- 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); -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org