Message ID | AM7PR03MB6660583ACBCDC9A937E9F3388FD99@AM7PR03MB6660.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Commit | 6c8f96f18b92ec312e645e4b32ae6f5010824986 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2a4a:0:0:0:0 with SMTP id k10csp4466646iov; Mon, 13 Sep 2021 16:24:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC1pKISau5StFkMIiITtq3SEpgM+1Hkpv9BISi6MvWnwoACPecLox2IPLg36vdpr307z1D X-Received: by 2002:a05:6402:697:: with SMTP id f23mr15472410edy.253.1631575481251; Mon, 13 Sep 2021 16:24:41 -0700 (PDT) Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id r24si8799933eds.399.2021.09.13.16.24.21; Mon, 13 Sep 2021 16:24:41 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@outlook.com header.s=selector1 header.b=Zl9pMFJG; arc=fail (body hash mismatch); spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B35F868AEBD; Tue, 14 Sep 2021 02:24:12 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-oln040092071014.outbound.protection.outlook.com [40.92.71.14]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9723868AB29 for <ffmpeg-devel@ffmpeg.org>; Tue, 14 Sep 2021 02:24:05 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xkn7wF4kIfqkRCTMxsaK2K0FuCKTe4GxJ/D65AWu3JV1ffyDB6Dj71ttQhbYDOu10hDIUKQGRuCz6pjgMp93uoiT/GWtPmgjDaalYplHqbwnqmcXudwVCO25KvU5x0YyXuokQW5mI7mzzbbkCSaPBvxCkLQzIq3X6VJnvfTmePWGrrGVvBnWRelar9TQ04DbLVVvLfWjDGbZsOEogDblQcas0GutR352ndWuz58541KR/eo0y9B3o9qZAPNJ/+tB07FWZEEwq9BdEuajxF1Kf+nEZtk2sDpnTR7VnYA4Ce+VlwTRkbf2NHxB9mBXQtmyNrvtt3HY0dGYRjacY58agw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jxyBMMN2q2OO8VvAGWCklBK3su3jbKPOLIVLLhsPgW8=; b=BjSWRBA1wHjGFNqUco2Tyww5zvRjzuDsTeS8YVJXxJ3pF0syAscLoi3CpX5rw10q/cAgpzlMEtQvM/e+5cyJC1++DSeM+pFX9Z+JtroqdiCylOcndh4Nbm39RDYCeyA0FkfBsmpowsmjXxE94ptEqMOlYifpb114kUqWeGXeNsvXPoLqeRePCNOR5JoBY4+PxzHp+VaZ0eMYXQ5VRVlU5nRM0xFwLQRnBU+ZMT1QrF4Aj7DfAJAp5a/1e4tVjziEx02102fAlE7W5pt9mTFmPAUKFQUFtDkCwC/FFPrMmk4N4zpuA7rAnsNCBb2jra1T6ILYeQpT58WRyuN/rpcJ0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jxyBMMN2q2OO8VvAGWCklBK3su3jbKPOLIVLLhsPgW8=; b=Zl9pMFJGwYyQkAH7ts5deOFqz1TFqqO8b8S+P8H4n2lSusD+JvV1dTXkbTPlnhD0EWX57VK6EmGq2PkmgrLvHW2pLIxOmuAa+yH0UzCWk9xMqSu6CTwbk05hK1HrIxV9tFEQvnZzQbgz/YV0Gii3hpf6XXsZU5y9RjLdEFVxfSuRMU0CBzT3xJxxv3KGofikHps9pfX1CJXdbQlw2DhTP8/H8lJDXRLERY+K3l9cC39w6ARGR88cOEBtbtCwTQiJTRX6PXpLqEl3Nes02+0YHQlAKZBT3Q2+2y90ROlKxVbnWp5kG6yAgrw7eC8+XScqoL7o8NFYul+MQEiO52lqqw== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by AM6PR03MB4216.eurprd03.prod.outlook.com (2603:10a6:20b:d::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.18; Mon, 13 Sep 2021 23:24:01 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::787b:2156:ca99:fe00]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::787b:2156:ca99:fe00%4]) with mapi id 15.20.4500.019; Mon, 13 Sep 2021 23:24:01 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Tue, 14 Sep 2021 01:23:29 +0200 Message-ID: <AM7PR03MB6660583ACBCDC9A937E9F3388FD99@AM7PR03MB6660.eurprd03.prod.outlook.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <AM7PR03MB66609B5AC63B44AFC20D51028FD99@AM7PR03MB6660.eurprd03.prod.outlook.com> References: <AM7PR03MB66609B5AC63B44AFC20D51028FD99@AM7PR03MB6660.eurprd03.prod.outlook.com> X-TMN: [uGQCdI6YQZ2mqZjRByLAVK8wFAhJldrt] X-ClientProxiedBy: AM4P190CA0008.EURP190.PROD.OUTLOOK.COM (2603:10a6:200:56::18) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20210913232339.3115725-3-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sblaptop.fritz.box (188.192.142.38) by AM4P190CA0008.EURP190.PROD.OUTLOOK.COM (2603:10a6:200:56::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 23:24:01 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 977889b6-398b-4076-eb49-08d9770d91b0 X-MS-Exchange-SLBlob-MailProps: q+fD6XS3/UJ0H+K4Wek5UQBrLJju5Y35G4Su8Ac/QUX3KzCHSVDmABJT6n0yXnhaRJKueiOcFiUButSgowWKYJaoLvN1phwR25kYqwuuupc1yc33QwNPt6l63acYCh8J3TaIpnZIvNyqrDu/NikFu0ptxc3akzTugMK+mDGMezXVeiNzWf3TrUnmtRCq+dmfWGFttn7RmziMKWwPV6fnhQqOIyNl4NWPaTO7Qc3Lx2fuBkgfDOsq6gN5JyaozghykyKaG1P0Wc1ZDFFA1AvQdQ0/BTv3gbT+zuf8HWy6sZTIkcV5H0LE4v0zE/3MxCiHjJmlHtbAQrvQg+SF73jhr+qZlk1HYBJRvHY+bjVc1IA9go/T+YfNwBGwPFtRHtkqXQ+tQJXAHDUFlw4DccCXpIsb7Ae8mf71ylErefxxVY641w/xYjyxxTm8w++jlvdBL5Cbbx0cifKu5BSfYMQRVaFFL/A+qmUQDGio7h4wZ8soi1IisWYX7qDvRkvBEQ7qRpvNtRbUWQRibYzRK4q2kh1NQjTUbm93PbYOs3IJbHBoYFFSVx7H1sm56g9M+p41M94Ky7YHy8ESsnWDPvKHVMb954SJx/X9vmKzvVgUBOnvjlL8tk/AwBhr9Bb4UlQQNmUeLQDclG3uCXu6wCIT1EXmp3CXe94hwiXKfqNOVrdwtVlCyqqa5c0ZZgVV2p2P8yR5DC513AXBrd+H114uzw== X-MS-TrafficTypeDiagnostic: AM6PR03MB4216: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KGD7MqH1V06wRB3x+nLyT001jI2DZaBEvjWz9Pa4tl9NUMxm04feARIz/AgNoAD3t0zDqAk7VtgMqkxrRBBP+V5TJGObKNMCaXaayUGhYPLLCVGXn9p2vlJ3THTlpeBUI4C0rDOCfLE7w/oJ5Kx+iAkPYWrLW0EOWFK0tvNChY2w4813B3rCXAYJGao49CRhf8E5RUwNzMeVcOy/XdszlfE9hlCMdyF7WzQ80N4TCfDqV6JTcKLPiQM8wYJSoS5+r9aVOgWPOtjokO6WdC2BZZt9dUf9LcaNoeuZx7ujdp7wea6dMW5cnvmXzqVEuoxvRAzSqlfBoXg7vHsXOrMLO3MWzYa/YF2goRZufFHTJj8Cj/WXsiSAlscRhZZD+v4ZTY0nVVqCkPIBsY+rtNpiim2ovcxrcrnJshFu8tan9D0myRE/lHeLZ5CTK2zQt1nE X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: i2sqgVY8U47uI7pAnrnj5ZmrF+SeRuvhcT+ZggpikqbAL+twMk0EdQKWu+EUNSKUmPEpTJJlVNzHtCbohZ34Wij3RQr5uZa8asqvV+9UPRjCH4/+yclOs8lfGmwvjvQd2YNd9uEKRG0cjbqCu+FNKw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 977889b6-398b-4076-eb49-08d9770d91b0 X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 23:24:01.4845 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR03MB4216 Subject: [FFmpeg-devel] [PATCH v2 04/14] avformat/rtsp: Use av_dict_set_int() X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: Q5wobRjt8Jl5 |
Series |
[FFmpeg-devel,v2,01/14] avfilter/vsrc_testsrc: Deduplicate AVClasses
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 3772a7f2a9..a3e9b9a1a2 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -122,12 +122,9 @@ static const AVOption rtp_options[] = { static AVDictionary *map_to_opts(RTSPState *rt) { AVDictionary *opts = NULL; - char buf[256]; - snprintf(buf, sizeof(buf), "%d", rt->buffer_size); - av_dict_set(&opts, "buffer_size", buf, 0); - snprintf(buf, sizeof(buf), "%d", rt->pkt_size); - av_dict_set(&opts, "pkt_size", buf, 0); + av_dict_set_int(&opts, "buffer_size", rt->buffer_size, 0); + av_dict_set_int(&opts, "pkt_size", rt->pkt_size, 0); return opts; }
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavformat/rtsp.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)