From patchwork Sun Jan 23 10:23:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 33753 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:cd86:0:0:0:0:0 with SMTP id d128csp1874860iog; Sun, 23 Jan 2022 02:23:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxB9rNaOpXBnbEuJ7g6CXDygq3gtq1n7D3zv0IJ6ah8T02dYjWAeLoyLjty3KidNlGqhdMG X-Received: by 2002:a05:6402:1e95:: with SMTP id f21mr11507762edf.120.1642933430243; Sun, 23 Jan 2022 02:23:50 -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 eb20si5851749ejc.477.2022.01.23.02.23.49; Sun, 23 Jan 2022 02:23:50 -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=AzyOjVlp; 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 97CDE68B018; Sun, 23 Jan 2022 12:23:45 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-oln040092074091.outbound.protection.outlook.com [40.92.74.91]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 547E068AF82 for ; Sun, 23 Jan 2022 12:23:39 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QEFCe9rGb9MMUsPe7f6E86vlwzJD7pCs9mY7eNtzbnQRhPz4qTHsmEPL8/+aONfVR1KOdo8iFFPCVN/76fopmsJkJnDXS6cS5CYmkM0qlvCu0QcSh9Q5iLNRElEyGKHgjVJTDkFsdSY19J66lJyvpxYNG2Cl6LNL2koRmmShOWmtkKnRC9I+EL9P1veM1GtfiKfs3we6eJJ2UzkoeKnc6ZmmGReQ6kgA8bJUj5uvmywZr6ClyPHXLBw444N0onHlRo0pfNhZrDr6iuoKI+Z2riEalehd2Y+UOkuD6pkJudVJkatpXPA3aMDWlW+P46acvjIYvy5OigZD95KCBz4OCg== 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=MjPLlDdFZbZ1nTc0VIr/WAR5FP4DL74KeDXZTEmCGIg=; b=N04hcXWO+lVINJ+a/JhhDBnDyEjSNTEsOvobFvZnikVys+d2OlUd/6C93RO+zAWbpokkWEqQytW2bUrKbA62dYflrgsOpif2OmRM1J6CzhFwoD+I67ciamnl+dgJofkw3psoLt4yK4SWqQMmPzy5QR5y6Yg0jLIRDmxPs/JiVEmI0CJMFf2xP3OSelvWjlDs+xMcBYVvveGYrbkn95YmM0dwVIREhkStbR13I2EwqOxixll/m7Tq45Oqw4vjkpbHGkg0/2Vy2dBg2Q4XpFUNH1jnT3rXZWS3k79JsdKkCmWZCzOPLYIntYR3pHbEfJr+yDYtLlEf82o3nLFbde9zrA== 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=MjPLlDdFZbZ1nTc0VIr/WAR5FP4DL74KeDXZTEmCGIg=; b=AzyOjVlpXks15vS0Vhs7fLVjePXEM/LFNzUJz59JKW/lz0AEzjFc2QnAMSkvNE7NG8PY+5mH2wqB/vEyO30BKt2xV2f/VuodibnU2P0kEV0pg8PQMT29/GxaqCeB8wISN4o7TDKoEXie8lD0mQakQtSSTI71o1uZ8MWR0eqM6mpP6ZKLzJz1OThh6Xu+dHkfHNAYTrf+wFp46bAVfIxQZdJKANFQJQdqwslYZv9Kr9jJPhRVn+TSJtM7dHOTIKBxqEsPn+njrZnBkTmxMTm9c6UW2tHSrB7yKZqyqbTOBwKbxNk65khXuvj71lvcoB0Z+BDoMnNC9K9RTz6MjIGfYQ== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by DB6PR03MB3047.eurprd03.prod.outlook.com (2603:10a6:6:36::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.12; Sun, 23 Jan 2022 10:23:36 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::ac56:2ff4:d304:ab22]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::ac56:2ff4:d304:ab22%4]) with mapi id 15.20.4909.017; Sun, 23 Jan 2022 10:23:36 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sun, 23 Jan 2022 11:23:23 +0100 Message-ID: X-Mailer: git-send-email 2.32.0 X-TMN: [7am0Q66o0je8rnYF65LjYVYBttEfrC3D] X-ClientProxiedBy: AS8P250CA0026.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:330::31) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20220123102323.443530-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7822886b-cea3-438e-929f-08d9de5a6a18 X-MS-Exchange-SLBlob-MailProps: S/btQ8cKWiTY/YqPkPPzTlajzChUMCXTzsVAqCkCLwZ5eXLKppxBMdQkh8vv+Zx8SkP3j7zvgAdzNHGBsCYb3sYJK+9ZwOEUScf5IhSVDXW2sTWs2JH2t2x2NMLmodbYmYzOTS6rMtN2yg2HifeWFsATbDnXwwSM9rqOcmDxiXJ96u8373V7zdICAZ6qH3MM9AckFfjKIcKldBoTHp1ku8C+Oiwy1p/DcQ13n+bgZxHKswuwviV8/d2OYYleuGp+GVMVIq1dh5vku8kPjy6oIKLEGxk78dVl3rBld9Es2zM7a3d8cFfR2XBqz0O+dXo38ZrjuMmrsoH56LTYBn9kug3Ywxv9qcVy/iZqP9VNG8OFkC36KkPGRNnTTpb46zqqMlCZMQG18hNI3yzRK75ASi5FuinJCJsNCMm+RBJTdfCgPAJDD8c0Fmu0XlHFq08KO4t5qQPoj12E+N7eEmkxs50Zx04/yMrHSPi2wkrYeJUeCoJvPrmNtoOAwd+AskJOp6p9Qcop8cBJgCIN+iiwD9/GcaSK8CNFOLESTjpH01o9DNUJFF+xH7YL9Zy6DCNYPxSAYbWoEcZOWaFEDfKJOOrszH7PSKeJvCj8E/0Qm2tZjwjNZs7gA0cWDxTmVUpkGBrBIRMO8AxKWPL0O554H8sOte4jmcUOSfaXthplh2QAIA4IuQs0/4bD6AHoJ87eU9cg4kKGorJD7vwR75Nxh5dNCu5uVTx9us3QnfE++yUH2M/xG4GWJhwcXmZc/7s7jE79fbudVi8= X-MS-TrafficTypeDiagnostic: DB6PR03MB3047:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PQPc0w17Ma/w7rEuICo7nxgzsCJk9Nw/xIU9/6G5cJ2/KqU4NwZtC/kSpafUkI2gbNNLKmsWivY84nqnhFkqGf1T/pMu2qgfh3e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w/TG4NpS44HI8gL4HH6fYOFTYNEppPIyBzq5yOoSz+wGqmRSkGPUAqcYCF19I1BtkAd8M/iwASuLnc5oM7MqwzSSXnEp2cdq7IuSRwmOIHPNvqH7ALwDMPZMh4yQX1JmJ9q8IMUgxc3xJyvi7T0mJZVz85kPoqv/V50DHK61L1ePVOXItgXFv9hXmVhUq0sr9VfFZoevxu4ghlU0L33vnYlTbZtMp4yHjXOP1Dn6Rh2OrMK1NLqH8hx1ABJwZ7EKas5w3F2v2z4R2L9OSGWRlT7//WdcdUDNoqc84AZtvbGkAzVkq/v2dS0VPVBSCQs9PHz9F0MaIONeS2oKBPtDwC6vxVLag/kD8lNEedAR0c9LaFWqdEK2SHap1xQ80dMww5yi21/7AV9UyHReYEiHSPUfsGRt6jK4BYlAexQAPcG5rh5g6Jcug1sJFi93kHmHRCXlHrhMjjOkNHfcg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7822886b-cea3-438e-929f-08d9de5a6a18 X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2022 10:23:36.1334 (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: DB6PR03MB3047 Subject: [FFmpeg-devel] [PATCH] avutil/tests/adler32: Remove unnecessary volatile 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: u/rTgNAisAHw And use an ordinary stack variable. Signed-off-by: Andreas Rheinhardt --- libavutil/tests/adler32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavutil/tests/adler32.c b/libavutil/tests/adler32.c index 13f760b477..356e1a97e7 100644 --- a/libavutil/tests/adler32.c +++ b/libavutil/tests/adler32.c @@ -27,12 +27,11 @@ #define LEN 7001 -static volatile int checksum; - int main(int argc, char **argv) { int i; uint8_t data[LEN]; + AVAdler checksum; av_log_set_level(AV_LOG_DEBUG);