From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 701494B546 for ; Fri, 7 Jun 2024 23:18:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CCEED68D85D; Sat, 8 Jun 2024 02:18:13 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C819268D838 for ; Sat, 8 Jun 2024 02:18:06 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 275B31BF205 for ; Fri, 7 Jun 2024 23:18:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1717802286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K5ncgvKGb6h/fmZqxEYxVsecAtaJQlJpb2WMZiT0KRc=; b=fAWCDYiA380FP36F6QOL7GC6dJWTKq92q8WY9KK/ANavyCuFX4qc9whQ4FZYhaLrevgcZn +7auj2Yp8nx3l5bZwaPzZZTAFLVNrIo3owKiC8esvhe7yULyWdF0BRy319rtRQVRY7/gah BShzufcNMc1vAbBn2cU5GS2OMRZ2xjCU0Qx3GDvgMizlKETl+XQFkbqf7IjlT6qJnsGuOK VQTjR7P14qp6U4pqyXPT88TziNkXQtbuSh2dVVvNZQnbHu0hWcrb1vY3TZZyIFoEQH2E/6 t7XZ2ZuRR/qkkhgYsPxcRnwETJDkqiTcBQ617r9NB+RmEWHjEECzDwTFXPKpKw== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sat, 8 Jun 2024 01:18:02 +0200 Message-ID: <20240607231803.3017607-3-michael@niedermayer.cc> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240607231803.3017607-1-michael@niedermayer.cc> References: <20240607231803.3017607-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 3/4] avformat/rtmpproto: Use AV_DICT_MATCH_CASE instead of litteral number X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Found by reviewing: CID1530166 Free of array-typed value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavformat/rtmpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index bc3d9df7b9f..b3b1eedacb2 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -2668,7 +2668,7 @@ static int rtmp_open(URLContext *s, const char *uri, int flags, AVDictionary **o } if (!strcmp(proto, "rtmpt") || !strcmp(proto, "rtmpts")) { if (!strcmp(proto, "rtmpts")) - av_dict_set(opts, "ffrtmphttp_tls", "1", 1); + av_dict_set(opts, "ffrtmphttp_tls", "1", AV_DICT_MATCH_CASE); /* open the http tunneling connection */ ff_url_join(buf, sizeof(buf), "ffrtmphttp", NULL, hostname, port, NULL); -- 2.45.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".