From patchwork Fri Mar 15 14:23:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 47108 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:8c91:b0:1a3:31a3:7958 with SMTP id k17csp282634pzh; Fri, 15 Mar 2024 07:24:26 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVkhv5/IcNpzh4JdM84xjS5267MDTkLAESGUCweBcZ93BGCxcVaSEcrvu3f/osQz2n1Ez+3N+TQq2SvJ6Na8neyTqz/wyeWau02Hg== X-Google-Smtp-Source: AGHT+IGi0/ywRObMp30LoubQDLQ6Ng2r+41ykBiGwo3YBi/44qUMZphLBaBXo9p1eHQvyQFIGVTB X-Received: by 2002:a17:906:4a96:b0:a46:5dc4:dab9 with SMTP id x22-20020a1709064a9600b00a465dc4dab9mr3049693eju.38.1710512666563; Fri, 15 Mar 2024 07:24:26 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id gt38-20020a1709072da600b00a45e1603259si1890630ejc.1003.2024.03.15.07.24.05; Fri, 15 Mar 2024 07:24:26 -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=mDdN0pUs; 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 E106368C371; Fri, 15 Mar 2024 16:24:01 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04olkn2106.outbound.protection.outlook.com [40.92.73.106]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B626168D08B for ; Fri, 15 Mar 2024 16:23:55 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LXpdRnYlQAMkO6Ctj8Lohk7w2nd8B5/3SnVnbxvOl2aiosNZMaMNCt9UcnZ0pRu6jaRzgvMNJYSPlbZdAxtp4od/rsLZN3jgzgO7ynoB7nPJtwKjjEFFYa1k6a8rgAWtu1LO6ZzJiO9ygQyw09oyCiamSC+9FAo08ACDIwe62UVRUzVumTHeBnFsn8zyx4ZcNOE/tq3QGunu26cV2ofjhmfukMW1ZYNJUb4vnvgl/nu2M5HN868sLSvcZh9ul+jF8JEAvotm7F2W89wX0zJ2/Av4heQxrHFqtcLeez1fkRkZ5fsmlmddsc7C7KZZr2sZuzDcPpDNtLA47GAexZl/Ug== 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=ptmnVUoO5D7BVUvcSqoK52D3SBt60KyEJ8hBNGekh3k=; b=BQKLJwp9KPgDuV9xpDq9RRnQQSCmX8/Hm/ZVKZ9adznKLfUCeAGLmuaEoeOY7EoOiRn4tZ25o6U8+d+M70LLgbeBNaav3mzEhiXclmsGDLREJpPuHumHhOZEAUfuw3hivmm8vrPfmY2OfXODoz8qyE6KtggR48aP7HIHhUPHEIH0YlZq2lx46Xf/rywguKJrBctEe+XxEoAT7zb9QgIs1Dp7V6D74K5vDu0YrWmPtTs3YIzaXRYhCxQcTPc/Gt0dj/tlLM9oHSBRGvasWA4yBzxldwEq7aB2zkcxtNjow5saUnF5EfY74Xf60tar7NsWfXYqIj41+tkz+U9Ck6S7Nw== 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=ptmnVUoO5D7BVUvcSqoK52D3SBt60KyEJ8hBNGekh3k=; b=mDdN0pUstqadyac0PvB/QwUgpQwRmTNAMZRqWb0PxIq5D5GmCwdy+tewVnDoylRGehfxZ1Vysq3opMXSkGUEXEWjB1bNBzbI8cCVTgGwqggK4NR/yCBjfBwSni3kgf895hxwRYfI8uUPrFgKr1o9Z6hnGCi69S2Ti7xyLPGbj4jNfzko+gk2dB7AhuKWRhCQX0/W9Kh7Wn/qluf+jWl/E3m0rOP9uW0b87UN+SOQhCbgkA0+UAyNf3WS/AwnvhJbf/6WFJq0Z1R+ptvcGmFko2NRZaR/0PZc1eMAKjqqWO1orF9JpKgUmOILBKpAzTJ8ZXbgS3dXGUZ8w38NnFJbBw== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by PR3P250MB0356.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:17f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.22; Fri, 15 Mar 2024 14:23:53 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::228d:8c6f:ed10:82eb]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::228d:8c6f:ed10:82eb%7]) with mapi id 15.20.7362.035; Fri, 15 Mar 2024 14:23:53 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 15 Mar 2024 15:23:46 +0100 Message-ID: X-Mailer: git-send-email 2.40.1 X-TMN: [MIsrKJj8GSvVo5aXxoeMIxWf2qHkH0aHum3vkK0F5v4=] X-ClientProxiedBy: ZR2P278CA0016.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:46::10) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20240315142346.4013424-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|PR3P250MB0356:EE_ X-MS-Office365-Filtering-Correlation-Id: eb76a06e-92f2-4dd5-f55a-08dc44fb8a96 X-MS-Exchange-SLBlob-MailProps: q6Zzr5Fg03FUD/FCbyBe/jqHQ/785XLiJ2j1fot1HrgJsRCPKmZNy0qcaDKNqPS/90lryA5SZ+FSDyH5XxvvkpW1S+YQhb0q4fvSx2S0En7yWEKi1tfzlaj2lr3637VIr7KqWZj1jbf+lZJCDN7fdaZMMgmlI5mwL0ps5RiGj7v3lxLL6HHASTHTXZwryUv0d/cSTe6KEZMksGWmemJVfuCWjql550Mt25lUbN/oOEKs8tasqsYKU0Eb60qelwzz7ch7vGIXgmYrna6Qho+wx5iYSL+G+ZKtjLnQ+65WaTQK8DOTYsEWeniswKlfj1zzdzzZVvubcYFxCsEuPFELIrWJaEnZvrxllRVKSGMKpTKNpDwAQ/jfrl744QC7/jSh0F1oq5vu8w0QzmKKWN30qUyTPT8KUv30aJUeVXrd/q1+W6+Hkt3ySjABbRfYfwBvByQRaBi8b4aGroTYPh8T0b1AtIFSsbP6iW5GGo3C/MdE/CmBcywwJ5gtZVioiNNqlC4+ywc9Pt01rQX7wtGwYrCVYzCP9XKwO2XS8AsYI5Z6fuyN+DtYkr936c4beR00CzslcClrKFiqvZsK7UTWD+NrJi+djwyDDs1uAkZlxcArcqs4BIAyWdFNGzDPSwdz0XhvBwS0hUaZh1iHcpnrWNnpOmdVDUZp/17eJ59GnXe41EjrzvJrh0O6B920sA81 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /xznMRkdddPL0djwgLXiaGLI5DEEw6UGao1MG5kb+JSS7FF4RzIlxVNo5eXxOTjYVRLM6asenLVRbVgmHQBwjZFVmDf6BWVnNrq7CT23ownYO0uEfTj9+liJhtQLTVA5YA2mu6c032Ek35FBEZl2lMEP7Xivcn7Q8jGVy/QpX4OJUgchkaY55X32pUuYNKLo5ai8tdpU9fUZWOsj25mXFB+Lc+97gacFZpKzx3kspHH7suwDIrDAmr49YHuVsfRMRbIEAc0rFC9137qjBACy3fk2kTQ2klE8NTNzaj7jDMqCf5ls7ubUnVp4jXBvmPjetJQEcbbwsHYuY0jTkZWNwy+fJQZxuVAr1X/XV+1i+l9+icO3IQzSRzUe0NFE8FDFbbrQxiZsDJUdsLWe/VvGE9Ron7WMJ+sYpytYGqlub6pu1BFQIrL27mbXCQlnV0qwzvk2PhdWedc0EGQC8PIyRmnMwNxZ5PbdWd/IN5OJanYLuKg4zWDcED9sBBqOpxp2vxZiF5GiI/fJjCEwB9wQ8yRTr7Qoqq7fMqNpPfWwci2xUjiwxYxc4B2BEfLlrXgs1pEJMzmj6m+ovxi2zGSgkFlJFsNSlIAeKkhVx0ZAmq3fMF5fdiG2vHX1vj7vsSyZ X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8klAW1uF/PbzWvbQqX7Cik/Iha2okkc4A4OACDNDJaUxapgj5GwanPSIkggLglFiIoj5YpITjYTg0EDPJwLxL9oY4jZGzF6VVLw9Rtqi+az8JVGSRp1hcu6kYqN2gMv3j5oUGdw+E0zpMzxz/avXheknO60Cr2B394pRWG41KUSE2sjOizKc2rr93ikj+Twx4wpUJD9vknUsYXWfz9sKmsaGFsmd0k7UgqeTrrkfs15j7YXCArxLWqSZRLOhKutYm6DnKcydNk827jVrysToo7n6eCzk9t8p77lRZ0rDisxRElwmc9TgArp7D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exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 14:23:53.5405 (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: PR3P250MB0356 Subject: [FFmpeg-devel] [PATCH] avcodec/tests/snowenc: Fix mixed declaration and code 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: ntF945Jd+MlF Signed-off-by: Andreas Rheinhardt --- libavcodec/tests/snowenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tests/snowenc.c b/libavcodec/tests/snowenc.c index 37198cd4e3..3dad07d3a5 100644 --- a/libavcodec/tests/snowenc.c +++ b/libavcodec/tests/snowenc.c @@ -35,9 +35,9 @@ int main(void){ SnowContext s; int i; AVLFG prng; + int ret = 0; s.spatial_decomposition_count=6; s.spatial_decomposition_type=1; - int ret = 0; s.temp_dwt_buffer = av_calloc(width, sizeof(*s.temp_dwt_buffer)); s.temp_idwt_buffer = av_calloc(width, sizeof(*s.temp_idwt_buffer));