From patchwork Wed Mar 6 22:44:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 46856 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:d90e:b0:19e:cdac:8cce with SMTP id jd14csp688274pzb; Wed, 6 Mar 2024 14:44:53 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV0nFVPQ6AgAoYtajPaRcG3ObFVDYJGohT7XqfoIFmrtwcY86e0v9w4Q3SHBQ5A3MX97x8xKlgbtzDpOyO9rwg0Cio+0nrQ/gUAUQ== X-Google-Smtp-Source: AGHT+IHVT19SSxykGhPtwzorXQmydZdVR04ynff1xgdsZ6ytX05hbuHEbphzLOA6eJT/k/FTHi5x X-Received: by 2002:a05:6402:34d2:b0:566:f733:45da with SMTP id w18-20020a05640234d200b00566f73345damr11979105edc.22.1709765093470; Wed, 06 Mar 2024 14:44:53 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id y17-20020aa7ccd1000000b00564470f6b39si6448140edt.290.2024.03.06.14.44.52; Wed, 06 Mar 2024 14:44:53 -0800 (PST) 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=SP951WRI; 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 3E64E68CCF8; Thu, 7 Mar 2024 00:44:49 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02olkn2091.outbound.protection.outlook.com [40.92.50.91]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F0B9C68BD37 for ; Thu, 7 Mar 2024 00:44:42 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cQTVhw6aX0RCrTQUG/LZxTLomcWZZE6ykOBYwtQzz0LQBGas86LA78L3drQIB12a5YM9PGM2Z4iNLNL2pqpEldUguPMAx99/qgc0aAkD6xHduDpua8IcvCGK7w9aTxFYFV4JZhMTvX1r8oClP7xpqFOC/JrxzNUS206J9dmRzaAnc5qo/eBDVAdkflY8AAIIJ8dL/5s34w0Xr20deYSGeHThzPRoibIFMXqAIEQyV13bhukE7BXegqOBanN7PJL5haThf7qbozaKrBd2InQFBcWNP88OjvnHKgNnBIoC1/RQlmQ9re+iJuUqlwhseHXTu2FnHldImnWjLRPojYSBEg== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4lKHIy6AkWE2VMuPgzgkhZB9PnpCF1xhqCWbW8WADwc=; b=LR1C3QOXeiYNDkh4uim+YZPX2RUkU4AgDlRciWUC8oqrNeDc+RHiu8xNbeVbv36gthmAsVL0uLH9N+JsEOsyj4/Rwno3TytU2I5YC8Wt4ar5/iWgP90BYD5bc3Ok/HlZ7ulC39AHoeINyowcs5pX4ZJvPJtqt+4zh6CQwufn1oY1wZ0i8QbusDrLw4CoLL4N/RYZN18Yv/MeRpHZNAf1JTzSzLMH5BpEWbO02b44nhfnr+Heh8b2lX9vEy2NKUdE53cQQXYfu7GUpgpXw/A10XCXabEcqMEZ6D4HIEXgdN8TIlAez5Kf0akH5fAkl8/Rn93+TgXRZgFzMBjRQhNy+A== 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=4lKHIy6AkWE2VMuPgzgkhZB9PnpCF1xhqCWbW8WADwc=; b=SP951WRIojKiaOynIVqJ9acAGKZU+0oALgk6A917IqWVDGJVKwOIDWCxkao6fi5fjBgRw+jM1cyIdzPYh38vHvtsgheD7yJhXk9Z3lNT7mmpZRULD5Tsy1W4QY+aCGvKP8rHh54Sz37SjvmhfB17pTaxbNSj/QVofnTzbp1S0cp6W4RHOvgeS3A7Hnji6pz4Vv6JG7VH0rtYoNNlKVKpsCfN6yZzJ0v3MVErv8+KSNGS4B4tcTDs+62HSIS/ViNjReM1BiXCOuh56yJl2+VC5yAmDggkU1dQX6UMUKc95DiYoz3gb7wMpRxvW++gAtfTujECPg0prEUFVt+ExgZqTQ== Received: from GV1SPRMB0052.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:109::15) by PR3P250MB0065.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:177::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Wed, 6 Mar 2024 22:44:41 +0000 Received: from GV1SPRMB0052.EURP250.PROD.OUTLOOK.COM ([fe80::a8f2:5082:22e4:8d1b]) by GV1SPRMB0052.EURP250.PROD.OUTLOOK.COM ([fe80::a8f2:5082:22e4:8d1b%5]) with mapi id 15.20.7339.035; Wed, 6 Mar 2024 22:44:40 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Wed, 6 Mar 2024 23:44:34 +0100 Message-ID: X-Mailer: git-send-email 2.40.1 X-TMN: [9FbXdbB7AqLzknGnJYD1BqC/MjdMOAcp] X-ClientProxiedBy: FR3P281CA0128.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:94::10) To GV1SPRMB0052.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:109::15) X-Microsoft-Original-Message-ID: <20240306224434.3348255-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1SPRMB0052:EE_|PR3P250MB0065:EE_ X-MS-Office365-Filtering-Correlation-Id: eb58eef4-df4e-47c9-9206-08dc3e2f028b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NtLK4tvmyylrWtWZ/Pmm4RMJEdl7k70Kcoqp9xYqTSmloTySxK4Q1/fIH+XP8J9sE+/g6Gb2XAs48nsFoyoNON1YT4NtW7XXk0OvWoQHpVdW4s+cXXOe+ongMoPNJhOQoWZ7iMMNM2upyAMrzhZ8LzigpCENKPkEPW5kbhG6D3TURpEizu4HM6IBf5gBAY/s/PZE8X24/Z3/YC2ZPOwoUPCitrH9HhDf0mlI8aJzb4qAWR/Ta4QjzF3+ziR0HFPO+5xLi+XTtRkC6pvdjEPPcJqh8PNSa3BMSVlOSy9UANsr4k/7FlGxHiIUVEpL+gCElKz7TAmpwtSqlFU1Pu3pWUrodZhnGRBu897f/meEDYiysXjwWNk/Lla+WEsh/ck9s6Gm3DdrzTot+3pBydctt2HHMqCQQJG1gJLFjC0FqlnGdG8R2MrW++BHfXARnAZMDuNZ7jd7Bq7fONQRKJ6jS6hsF0qqRqDsWeSIDP7Pn+jkwUO4A1I32b3vNXmcpP8Oob2oa8HbeYtstKq2N6+TxwVoHN4Yers/UDubxckA25HuD0OcmXXF7zLw//JGHVNaCzvVhxHqJdM4KFY6M1QD7xDEm6fqR4IlWSjVS2BFtpTULj6k2mWWvsaOqrN+ot8t X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-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XZYVqSQb0x5NhquE565XxPGJtAOVaSXqQ4TENF0D5tLeyr7IHSI2P+BDCO0R9/hqHGMzhy6JjPCK2MZLRm3IyBghn189rGDVe1mxQVhgL2dW1kOcpRTin4FR5HBFWUfcIeMTtNQG7h0jWAY2h6gSJ72d8lFA7Zq/TzpVn8zvYaJlHVmFEDRyyecVp9x8o4bP/AUOK0Jzl6VCs8fmuyYr5SLU+qQv+PYknzW9nO8Yh+jFHtVxGycoDQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb58eef4-df4e-47c9-9206-08dc3e2f028b X-MS-Exchange-CrossTenant-AuthSource: GV1SPRMB0052.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2024 22:44:40.9138 (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: PR3P250MB0065 Subject: [FFmpeg-devel] [PATCH] avutil/avstring: Use proper types 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 Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: pbxPX1y2VP3o Signed-off-by: Andreas Rheinhardt --- libavutil/avstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/avstring.c b/libavutil/avstring.c index 8751ce5576..2071dd36a5 100644 --- a/libavutil/avstring.c +++ b/libavutil/avstring.c @@ -345,7 +345,7 @@ int av_escape(char **dst, const char *src, const char *special_chars, int av_match_name(const char *name, const char *names) { const char *p; - int len, namelen; + size_t len, namelen; if (!name || !names) return 0;