From patchwork Thu Apr 4 04:59:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 47789 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:24a8:b0:1a3:b6bb:3029 with SMTP id m40csp99036pzd; Wed, 3 Apr 2024 21:59:32 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWcnWpAjJ+UTGmZ69YHIqZ815l4Gha2Eq/29imbgmW5O2wgnV484vKZO5jjf2VTnz+/JuvaxJvifSjpGIRc2ugDcbvyTnbnUc5eQA== X-Google-Smtp-Source: AGHT+IFOATbdmxouwYGbOX5JEVYIr/VTZfcEGfTPmIJlBX3fJBxxVQGf5S7tHkEEQ3DTtV5lctZd X-Received: by 2002:a05:6512:158d:b0:516:c241:a912 with SMTP id bp13-20020a056512158d00b00516c241a912mr1110896lfb.1.1712206770963; Wed, 03 Apr 2024 21:59:30 -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 kf7-20020a17090776c700b00a4e223187fesi7433722ejc.681.2024.04.03.21.59.30; Wed, 03 Apr 2024 21:59:30 -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=VktvAhv0; 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 6B34768D15A; Thu, 4 Apr 2024 07:59:26 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04olkn2032.outbound.protection.outlook.com [40.92.75.32]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 56C1E68D13B for ; Thu, 4 Apr 2024 07:59:19 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QVJ0Q58lJ/qEI1uazGbnNgevc1/zqfKR6izFXzo1eny30Mh6KYMKFIHg8M36Dt4bIVV7WzCBPDCSo7RGpiv5loyqdvFfw1I++m5D1Iy1MQRtfbdM+EbjY437CDN6E7pcoV0rBu9c3+98Ln2yCo11UllBtlVgbp6BNPxalU17RRx8P4aQFwMpDC9LTs9qEWk9bA+Y6/wrCF4m8Ows4e2AKRPS3lCaP6BAzYT77ti/mZx836hghSo4UoFC0gmDSf6jA2RFx/Ks9K3lCQNJLhLyRuqLgQ6IRqizejhARC3W+mjJeKjScb4owgFWHd635WYLArNAJDRvstpvsHzPx30I8w== 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=A5YnSNg3x+RdoHOxG9vbnk9v+1KlzG/Jd7q7YrpBSJg=; b=DNi72lKYUo89cqBE8qTUIMhQ+BYK+/iZ4uFmMvk/KysH4cv4eS76IRYLGZeHouIZmD1bFdisEX7keUK5OD+e7LJLXnF2/J447+Vx6YkaxvIOLD7MoqL5rVPU32V83JzNlGLT7M0/t0Udfu77RlEz8qBBbHsUnMJzAZJxhHbAnL3V+O6T3jEkS07arv4oqI6X2GFHulQzERM8ZTQGvFTIz+xvqKYnqsLQ8ioZ0bHKXZ0BhsusjXSUfdVspPGYpBoJuSgkYNTxR/c5i5vISOzbNYW/N/UANnoduzKXsJVl3Sonyb6+AKWYuomdMh+seous2kIywW+DEcoftEo/L9ohEw== 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=A5YnSNg3x+RdoHOxG9vbnk9v+1KlzG/Jd7q7YrpBSJg=; b=VktvAhv0Mzfp4ZlSt9Hv036NXOs1k5E4R0vFXpEJtKOObV2QXhoEBcQw0aYXl4dnqxTSiVN9IQ0SugiJqCbndZ05m1LAR6Toy0qZoDfn+ezFLkMLUVyGHU/B9eETyqZD/vqh/2U3meluqrpkHDAwXqibgklFBfSZ4zXwpO8lo7x5ZUL0cFoikrfF3FcQjuvQFLvvhqaTJvs5I3iuAn7H55YzXtVUIjO6P8gn5smGFEh26ECkKXD3AXVseR08nVpuxVLFf+18YQHyj/d+mWWdTL8zlttizFO9xGRWE2GkJrQ6uQkWr4FKWzCQFURAiXA0i+DA09B/9oi7Qz1x7lbRVw== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by DU0P250MB0436.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:348::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Thu, 4 Apr 2024 04:59:17 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::4a3b:cf76:cddc:c68d]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::4a3b:cf76:cddc:c68d%4]) with mapi id 15.20.7409.042; Thu, 4 Apr 2024 04:59:17 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 4 Apr 2024 06:59:04 +0200 Message-ID: X-Mailer: git-send-email 2.40.1 X-TMN: [Epu5a3/wab0iJ7ODrmrXWUTsiVo5Duh1] X-ClientProxiedBy: ZR0P278CA0211.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:6a::24) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20240404045909.3450315-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|DU0P250MB0436:EE_ X-MS-Office365-Filtering-Correlation-Id: c7c78be9-312d-4aa7-ad7c-08dc5463fae5 X-MS-Exchange-SLBlob-MailProps: 9IecXKUgicCdj7HlD3lQLzAlIqBnD71IooEbHOyqfM7/RP8UhQ1abWVWlN4bIj+rxHyaxdZoca+Bo28vTQdmJ0HW50pxTBFaegUaRTfqP70pkiNm0yB+C1XCJLen1P3VM9eAp7FThXAzJS+FKZnX4TzjCsi3g9GDiG11x8lXdj1lMCxiQKNgbhYAUK0RmmNs2gJY9LUi6cBF0/VeC2MeBRFFQFnhXQMBGX+C+H6dHlnRdV4K+yVs5Bo6aeEpdwrH7p/qNkSqLE7S3LTfPV2H/gROAx3IrrWA5r4eIfcZBlfGLfzSmHlJRr3FpvDUrcS0H4Z3cJ7mMvl3Emg4SY7lODyNI7WYnS3+Wy4Xicv5hP+YISriuzpAG8Bqc+qw2rX2JESlQkiJZ5wql6iMA9tA4kg2O2uykWRGhjC8CqBs8GCQGCyvrDtPa1aHVIOecCOYmbIQ82YXTMcuJsDIJsNPHYRgEM+tAyF1u8WcimaKfvg3yvLTM3Ucidx6wy4TUFuHhIHZZgmIXO1fnaZr2XPN8BJ5/RfO7DPDudybzO+2iLCcUTu8YgO5hSNVIOSiWWRAmSnlUg/j8g/N2LpRPsvaFtnjhSKcgsSbaqm8nJHjiN5Y1v29HPYfYZ9wHU1eXGcAqB90ndS7tnLp/pOM3ulYsTWvcOhXXhSop+/yySEL4V8XLRaScvb1rk564ncImZba3ncPnGNpYLZILapv3Z/LaC+iF81GxXMnUQrkW0HSTzxVcQElTCrfUA== X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bKeilnEv9y8qQ8xreltzXZCiefZ8EL1W2+wPfwXZWhLNq22XPfQxhdobqftpYpQI9y3zHO37r+cutiO/KNKMRUzo8zxciXadphd/DebhKyVDdXEJId0qUx1vgg5RG0xkwErIg3oCnoau+uHjV/2R+SWIuV4lf1zH42supd+wUa4ge6ANXkbPWiv9vG0mq2yXv4OI+PcL+RI/VV0DmcRT7IfiSkLURKuE+lDeNREcfsXzLTCz19WWOzbewBXNPwzDHRehWnROXW8yOU6Q1TcPkYtsQKFFo6NBWhqeHUFzDgY0PwsQ01eDnyx6sn3JaJRcjB+1VqedUyujjiMiD40WOc9Tf5sH+xfqdzNEDLLJfV8tH+1b+kSuQHem5elj03BCC+Q/7/2XpLH2NHvPdhHrjD7ovJe34a1v9ogiv/vvNKhTY8iojth4xt8UTfDXKZRnGng9jLF85tt3GQnRJ3Rh9vc0uju93fXD8v/QTfSidgec7xUXovGBL3fIjPPDs4gCLuOBhpXlz5NDkhkSTgyISCAEMUb0whGW6lEtHzbalIdDfFSVPX/SyXQMEb/TaudNR6FYId56L1DKZHsYrHGZofXKcUjerSNNbr/CY3n2+HkGv/RxHAzyueU0RupMkZjr X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rMvSETiHrSiuwBRMxQaL6JgH3wlyZpMQPMYzB14bNx2PgpY/8O5i6Ah8WYTqLJAynGJvjVwEIM0dXxJjPpxmL22d8+LIIIl4JA4Lq8kra4D8lthPj07PpX/dakAp5ugQLqRJFGcg5FrB/gkXTK2+Ec1DzqeHcwANl18qJWrPHT2dLny4YXYgIlzrlmswfhlytc5LXjrAy2LwhSIFNu/5mlPSiaLgN7IoDrsrCicZdaY+lbGn7TRQto1RaIYLOZ9nfdX8GZ/S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c78be9-312d-4aa7-ad7c-08dc5463fae5 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2024 04:59:17.0554 (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: DU0P250MB0436 Subject: [FFmpeg-devel] [PATCH 1/6] avcodec/huffyuvdec: Don't zero unnecessarily 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: tCK2h0AP2HaU A decoder's private data has already been zeroed (apart from options) before init is called. Signed-off-by: Andreas Rheinhardt --- libavcodec/huffyuvdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c index 3bed27be21..29e5419d91 100644 --- a/libavcodec/huffyuvdec.c +++ b/libavcodec/huffyuvdec.c @@ -346,7 +346,6 @@ static av_cold int decode_init(AVCodecContext *avctx) ff_bswapdsp_init(&s->bdsp); ff_huffyuvdsp_init(&s->hdsp, avctx->pix_fmt); ff_llviddsp_init(&s->llviddsp); - memset(s->vlc, 0, 4 * sizeof(VLC)); s->interlaced = avctx->height > 288; s->bgr32 = 1;