Message ID | GV1P250MB07379B2B3F8A7659AD48A8C58F012@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 6c55cb95ed9e15cc84985fdc539dffe5c0f7e4a5 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:24a8:b0:1a3:b6bb:3029 with SMTP id m40csp2147308pzd; Sun, 7 Apr 2024 14:11:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXyBOrDaTa4G56GkFcAHBioOPOM0cQ871qJ6+Nv+bsE25fBuzawpCF7rhgvtiZwu0GuD2FhUmGiBY7Rw9RjzMTjjHqmW+BgecgdrA== X-Google-Smtp-Source: AGHT+IFrg553tYVCTwS2lSpgnyiLL8qAyNHwh6MU0aRVh2x3f//c7hYncSEG4IrWMJ20xTR0ThY6 X-Received: by 2002:a19:e019:0:b0:513:c428:9daa with SMTP id x25-20020a19e019000000b00513c4289daamr4466336lfg.0.1712524271692; Sun, 07 Apr 2024 14:11:11 -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 ht13-20020a170907608d00b00a51c4b75c5csi1465865ejc.24.2024.04.07.14.11.11; Sun, 07 Apr 2024 14:11:11 -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=JgzXXSsf; 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 E56D768D25B; Mon, 8 Apr 2024 00:09:59 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01olkn2043.outbound.protection.outlook.com [40.92.64.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A192268D20F for <ffmpeg-devel@ffmpeg.org>; Mon, 8 Apr 2024 00:09:50 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MQjzs7h0OCkC7aLfIuZzGvszD3Vo3IVChvcOKYiX+qYOpTP78D73SNuKkjik23PGlUGT2ezFs8xF8X9lMszLDhiDkCjSAufft8F1/KEKXc5h81dhQ0TKt120tdF5C7aGdGM4K9RcDrxFF1bLfEQeGyQhf35Yvp4D9o62xxXKI7PNOmLmn50EDEYBr7fBRsPMNd4ShHwmu9PM4zNLmp9iT8t+q/BAFcpd6j8kNTOE7iHxsfmW/VZFLHhd1heCFPZQg9c2C5WCiJCUcL7kBonywGl5NKQP0PKpH2Ihw6Wx+jKrmQJmZwmqgcvBSZ/n7B9c6w2AhijAwVrw5PYgFEFPwQ== 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=E3mKpf2QIdSg9pKmUIK/hMGBNN2sOzYsz0q8Z0BtZlM=; b=ACaIznvbq7VHEi5qXvuILiwGHhv5kNsck1DGRBV5XjTgeLoE7N082CvZc42z6nWFDwbqh+JQ4IZjA0zzQqiE6+BFUYduLhNEfCBIC+oYRKMCL1rcX2NONBnWqg5WshKK9BACXweVvUR0acN7GI05DDMUW9Nsqf8NpUUzXxGTCk9+Cjn7QJI6QjMM7QTUmwJ3IlzHpIctIWe5181ptcag/EZi/N5zvR7urtfL2ni8M0TZln8QVnPF+obptz8xPdcOLuSE+rT0rsTa26SVxknqFYVVwj+mcBY78cnFvzrX2ierW7Lu5kXZDHA5qT1EDTEsZ3OtJY1uQkOhVHgTCo2K/g== 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=E3mKpf2QIdSg9pKmUIK/hMGBNN2sOzYsz0q8Z0BtZlM=; b=JgzXXSsfAhMEnA5HIgGLVRU+jlzz5rVBCwhYcVwfBQaDI1HJqtPmxRDflmZeXg+q3fkzxbNUjdTSW3A3fD5IfQH6xC+yQaTGJdeoWtu57LM7Ial9VEhwPe758lectI1ELjYIWdQWJRZE7Eif5Xcc8RnRcLWSz+eAsNylTa8VaMRBSLCwqgXrxx4bGmVF2R8F5J/jGtsdyQ5wiM/MbLbNDf1Gy15vPNKoUGzz3J+WVLln3EOK2HYoKWNbLTwy/LZCfHW3afpR7RJY4Bn0NUr0HL0liTu37fDeIcYjtNBbzv2NLPBK5hwEINq/hJtTDHhZZV8hQ2vEGSPwrpKR9Ql2CA== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by AS8P250MB0234.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:379::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.55; Sun, 7 Apr 2024 21:09:42 +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; Sun, 7 Apr 2024 21:09:42 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Sun, 7 Apr 2024 23:09:11 +0200 Message-ID: <GV1P250MB07379B2B3F8A7659AD48A8C58F012@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.40.1 In-Reply-To: <GV1P250MB073758D71A50C11C0A3C26CE8F012@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> References: <GV1P250MB073758D71A50C11C0A3C26CE8F012@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-TMN: [6a1MgrKFtdhtguL4dZr28RLa5mHpmhUHuA3nmhVzhLE=] X-ClientProxiedBy: ZR0P278CA0038.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:1d::7) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20240407210915.895619-12-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|AS8P250MB0234:EE_ X-MS-Office365-Filtering-Correlation-Id: 054fda4a-481f-471b-4075-08dc57470b7f X-MS-Exchange-SLBlob-MailProps: Cq7lScuPrnpOxDCcKCE3ew6GouC7ydNhVkp8A+4G3uzsGlX9MP+N8ZwNXJ058TqUlG4cxX4G9HUjzbPOl/uYfQUuKtkx0T+RatPXkPcqXSS+jsS5VOfs5JlENpaWfQbIrkfEMD6Cfci4TatnDE6ubXMBzKhltUjUkyw+b82iPQiAhbgqB9O/oBuA6EjDy2gfLeVdFfbAsA2A5cSPIRcj6LAXKKejz7eLbh3Y8wzEn0P2LGPrWsCNHIKmzcoKG7pfUfIBKJu5HGkm7TPUAGp8C490FfcvaEw1BRDWgG+3cT2V9nCwE2y2gFrAbgZcAJOx/htJUSLaUFd9ljlzPi5dAeIi8//zsHmPaV7806rZvtfBwJ7GNIs9IixLn/Dh/bdsGoqcflFq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bomUVsBh3CC7UhbFZscE7ba3xWcjM/tOVG0KcaDjIv6BJuOnCFIdsX2q3UEPn4Kh1JVHbBVzKknSCSNQb2ZTnbTUmRImb1kblUvIsdDv29ESwat135amsq23ZpDfT+j/KjSPxijwX66P3FbsXyM58vXYjlJeQakSwM3Y76DCj8oP45bqYgylErF14gSG8OtPrNTGbAe0v7A1h+ZewDwmneFdnD4D79Avh7jrbN2qQbUHF/zuGdPluGWbXDHVCXVYfAlNnm+MB9P0zpBEvCgYD7f7hA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 054fda4a-481f-471b-4075-08dc57470b7f X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2024 21:09:42.9153 (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: AS8P250MB0234 Subject: [FFmpeg-devel] [PATCH 13/17] avcodec/ac3enc_float: Remove uninformative error message 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: a4LA7r4FYTPo |
Series |
[FFmpeg-devel,01/17] avcodec/ac3enc: Don't presume ch_layout to be AV_CHANNEL_ORDER_NATIVE
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/ac3enc_float.c b/libavcodec/ac3enc_float.c index 77a7725f31..cbe87dc5fe 100644 --- a/libavcodec/ac3enc_float.c +++ b/libavcodec/ac3enc_float.c @@ -88,10 +88,8 @@ static av_cold int ac3_float_mdct_init(AC3EncodeContext *s) { const float scale = -2.0 / AC3_WINDOW_SIZE; float *window = av_malloc_array(AC3_BLOCK_SIZE, sizeof(*window)); - if (!window) { - av_log(s->avctx, AV_LOG_ERROR, "Cannot allocate memory.\n"); + if (!window) return AVERROR(ENOMEM); - } ff_kbd_window_init(window, 5.0, AC3_BLOCK_SIZE); s->mdct_window = window;
AVERROR(ENOMEM) is enough. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/ac3enc_float.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)