Message ID | GV1P250MB0737260A12D9F2395D695F758F3E2@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | d307aca184a15be78236889c226f2699f40a1948 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9f96:b0:1a3:b6bb:3029 with SMTP id mm22csp1084238pzb; Mon, 1 Apr 2024 18:37:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUAAY+o68xHCXlO/+BLfcrb7VMIAC20BOmtAjuzgKh4VzSTd4hPnFsoaT6JWJvQHCfMDWEimJ/4Stf2ctUDtprI61254OkUBl2tqg== X-Google-Smtp-Source: AGHT+IG6sHS/g80DUxenKYOScSlK8QnGl/KESx8fQmDBkkdQqsRvsga11uBcUYlpnjvyWeuDfaFy X-Received: by 2002:a5d:4b0f:0:b0:341:b8ae:4cba with SMTP id v15-20020a5d4b0f000000b00341b8ae4cbamr129049wrq.21.1712021863971; Mon, 01 Apr 2024 18:37:43 -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 ka18-20020a170907991200b00a474ecd7c80si5006902ejc.908.2024.04.01.18.37.43; Mon, 01 Apr 2024 18:37:43 -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=otYYS8NQ; 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 3A7FA68D097; Tue, 2 Apr 2024 04:37:32 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05olkn2035.outbound.protection.outlook.com [40.92.90.35]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AB98568D063 for <ffmpeg-devel@ffmpeg.org>; Tue, 2 Apr 2024 04:37:25 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VZuIUsPff+yPa1fn4r/3so4JAr3AVaQhgBE9lA8Pvdit5SdL1Q+qqErYR7nPIk2EOMQl0E4xDBKG+YUX6l1bsp6Q2JmJRy0hYKGse1wFPRYwyT8i33ThkSiZcAsiWXE7quQjYUzPQJoypSwFHX0jZGD80nhSOHLFee6KFTu8uJg+liNZsiVQApbsFaG5bVr/TsARlc1EfLH5z5s/vBQwHCUwmfmB1+1JvmOXvmRCNOcx7gyHs7cRZ+KYMvIjkuvOlF3tzK7QA6vVIem3nvT/+mV6sHg1NpUY+QlHJ3yp4FNPEqKVqsScCtZNkHbLpam9eVAJYJYzAKaQHXfX+0I0BQ== 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=6+HAf0VJlT2UXLogBJjDKCVAUZefk3gPOJvobSbuDDc=; b=fRpk/ewue2Z3HFfkzBj+6uoXeMMwh9FcocbbwefXW8Z18rePwYWRacWr2NyVo5pJe19C2dA5zPF7MfkjwCFVYYFjzCcqR3B5uMs1FkrTn6xd32280LbVn7uJauIX3TEvBMZCG9fli0aNWrePosH8vKkwsktqk9/PUoJIC+zTjdrjFYQ9uqcDh8NUfUXAweW1357/SKf9yWUGadiZ21Xx8AG4Sj0kUttAjb/cFTKv4AuVXMNVjiIAsiC33MTYQdntRfds0k0pkhk7+PATg88yooxL/t/P4hCeYN6PvyqhaaU4/T+RUXTqlJvYQRC6XxEPPfFpUjrcbc/PdD/B0m+Uqg== 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=6+HAf0VJlT2UXLogBJjDKCVAUZefk3gPOJvobSbuDDc=; b=otYYS8NQmh1zsocF3Pqbpnlj6peSsK6s933idrd5wpiGpPKsYqoJT6SjvUdsDU4ZdxykGvGm8q36+Hv3ASavY8Hdpy99OpT07XYSEe/VhYiGnQKSqXC1GLRZC1StuNxCOzkSGG7HG29AD7oTlCmAc8Cav66oC6mKrg51TCbKlS9g62CdCoA6Dq5xsag/Iak9Is3v9l7AoaxSlbGdHVn6ugFCYZUNmMIa3IwirDgWIprYC+lSp8JUyK204gTzdaKrqX+sQQr3vaRM2xJ9y7kjM/tC/dJgd1343WK+GUtQWLq0nbBmraauS8LLimnLQyofT5w0UQX6qbGcMg6K8sBYtw== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by PRAP250MB0492.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:292::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Tue, 2 Apr 2024 01:37:24 +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; Tue, 2 Apr 2024 01:37:23 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Tue, 2 Apr 2024 03:37:08 +0200 Message-ID: <GV1P250MB0737260A12D9F2395D695F758F3E2@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.40.1 In-Reply-To: <GV1P250MB0737D9E8D64211A49774E5828F3E2@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> References: <GV1P250MB0737D9E8D64211A49774E5828F3E2@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-TMN: [KTwTCHLrAw5cNm8MTy0r9uLwf2Vc61/vVqkxoBM55HA=] X-ClientProxiedBy: FR0P281CA0191.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ab::14) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20240402013708.1510327-6-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|PRAP250MB0492:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e4afdef-71f4-4837-74d8-08dc52b57203 X-MS-Exchange-SLBlob-MailProps: 9IecXKUgicAYce+YIvRqgtS7xmd4M1bmh5+R4hGZCZaZVeppYG0w5St8JWl4VKlInpJMr8+w0bSqvZUOj2+ad4p7vCl0KgPOIK6PSu92QwkToftjS749izBaiJp1WM5kHCaxhtTQ+kmZGLeeEqv+ioI+mmHDio20+GtFYU5obiG8HP8R/hlLTtWPiBq+c1L9RxVf9LzfoGCAw05O01rTZoI2rZ1QuoTV1yPHF6FbNkFDT0mHaTFNiGtJg23Tose/97bY0/tG2h1r2njAO5j1NfP7tzW5JnOwRtKnQRZ3IkhjvAhjC2USr2ZxeKdMvou+iVtiVUUpHgVszy4HM20p1lKsHH+iQ2gIEsRNXgSxAWehqn4mKL5FPln+ST5iJte4w+Qp+OdLzZKM3mm87ykbBJ/SDqxIWkLZDlfyUpjGiWbvIjiSk6eb+FPFB+HXWmTKdAV9rtX5AWG0+wW0JjSDANz38CVaj9RTSTJQAwh7drNLURwI7iMvG1eKsJfANpzgv4yJGlK+nkFYmbN0nbJ/KPG1FbwrbzWK0YuDJ2ASax/oclof7MC5LdGhxzT/OOIcP3edoOflvzX2dDtL+R0wdM8PWxMAPJbzW1ZSShYg27qMZk7PLqgfab+hrt4N3DqKvpAkq8NSTxpqntJlpRfDUrBkl9hWB4g58t2LlDnPaIkyTwb0eZJCQAHwXeA3/XcmQRknMDYFbPhk+j4swTfFhlwFKuGWAyMHgN70lU/l6Ch+CMB+PKF4yA== X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mC0zW0x3pdsto73FyTg6/MuFodbU78ftNBigXFBco/n4bRQ9+LBmPjlCmJGvLQJdQ/xpWz70kNRqbz6/9uZ9ItKcgpyILPS+T3R2sqdjtEO2SFj9iQ+zgM9Vu6meczT7Pqbxwz6BjFFJifyNzNeAaAtxoOI0JiQPeb5ifiSxZziVJrwfYUqr4NbfhpUAavenEMPwJR/m3br8paAjrnxBhGYr0rhMO8I/CNTELb02AuKC+H+7z5hhB51VpYCjchNDVrAubCJkkev7zme5+W+F3TxG+fD7ahRfQpiCwAtLVJ565aFE7NSKwbbQaNJFVNinrA3wwmnbRpVsbL30gk6MQOkLBSWo8ACSAG3P1PltTBPTzp67D1xPBTMygREBSWq8ppblgNmqa6sx6EylAwQcOMjcRq03WYMYnPXVtLf3r1Sxs+tVMo0eD9eePtFRTmaJtpAWvgv/+qk7uHVuy9UK8PUB2xD4cYClYnD915ejlJ8QU7lZnbKA1EbC68/nNdpj4CtlOOFbKi6ngxRqeW6EZEAjgu19KMNEaXbyIo1Xa5dvPAmXVxqJGnZvf/mJnbvzrDr/Na2JYbLyulQUiJWJc8HB3Na+nEa6xR4u3qsmIRWWiJrilWntnfTHEJXvw2My X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tJECgQ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i8yk1dwhB1N1kQ4iv4EZcYSF2Cxs3WBDMofXM4UetLj+HN7727gDRk7oXdgHbjUcQ2NIavnNSW9MsWxjCvZQddRcxmSuGk084QkQur2Dnro38OU+Vl/WeO58nDzGnPvdKwcybZUlMknLcR5ZMTJbDTgB9giYTotiliD7kkYHozhy0ILwRltDQHM3ybx3wigBFXc3MYid+2u1YDVdtmE9/1z9cQywZeojg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e4afdef-71f4-4837-74d8-08dc52b57203 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2024 01:37:23.7211 (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: PRAP250MB0492 Subject: [FFmpeg-devel] [PATCH 7/7] avcodec/wavpack: Remove always-false check 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: nkM3GUKYojDC |
Series |
[FFmpeg-devel,1/7] avcodec/wavpack: Fix leak and segfault on reallocation error
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index c96c8e0583..73d69d66ff 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -1095,11 +1095,6 @@ static int wavpack_decode_block(AVCodecContext *avctx, int block_no, } s = wc->fdec[block_no]; - if (!s) { - av_log(avctx, AV_LOG_ERROR, "Context for block %d is not present\n", - block_no); - return AVERROR_INVALIDDATA; - } memset(s->decorr, 0, MAX_TERMS * sizeof(Decorr)); memset(s->ch, 0, sizeof(s->ch));
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/wavpack.c | 5 ----- 1 file changed, 5 deletions(-)