Message ID | AM7PR03MB6660A4B5300273860DCD10F18FD89@AM7PR03MB6660.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Commit | d8ca8bec2664ea95451207e807c854c76d8fefcb |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2a4a:0:0:0:0 with SMTP id k10csp3084719iov; Sun, 12 Sep 2021 03:55:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxk9Yc1FVVUlQ0lqiTC7OumWcyY5aoQaLqHksmcXpQNfBECSXxyRbtBpk4PQYzVOe2R+T0h X-Received: by 2002:a17:906:4ecf:: with SMTP id i15mr5891462ejv.250.1631444130434; Sun, 12 Sep 2021 03:55:30 -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 bd14si4113115edb.36.2021.09.12.03.55.30; Sun, 12 Sep 2021 03:55: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="lAsWXbC/"; 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 E827068A9CC; Sun, 12 Sep 2021 13:54:53 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2029.outbound.protection.outlook.com [40.92.91.29]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 753E268A9B3 for <ffmpeg-devel@ffmpeg.org>; Sun, 12 Sep 2021 13:54:47 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ieFUqE1wlfQGpmHezM+6t3n7oAFVoNhXrc8k69kBFef0ORQPqHku62u59/fz+YrNDlBQIczWjhxC2FX1cnS+whDdX1B8dpJ8skKRXbfsI8L7sQnhetSBlmk1hocOLhuYJkhWS1aZ9QgUE34QwqHh6+BerfFN51xFG/sdE23PBJ560FDSYTTHCc3vb7pFdmnjQ97TXUCOyaOjDo98Yx1VWa02BXEtDKXccycA8kNCgck6inLAIRJVVcjSCTj46uvmOSNskRtZmZJV6LlosLAgvgB6CI84Q/5pKGvlwO6upt2KdG+J45amNLzNkA0Vj1B+nsXdSAV/IoQMuBC9AX0g1w== 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; bh=Uf7f8FLE1tAG/5CZYWcLNAt02o7aXX1FnzgROisDr/o=; b=Fw+WlntmGkvqYv1+pt0kaF5vt7vSAIar+xpSsuquMM0wRQyBwdgc9SDcqD64SO56IdZ+bjqcY+lnxM5uOOho7PeJ4R7DiXUCJ0WUzlZa9gXKs3bbyZPbgtxJIwsbfa5WoyZoPrV827qP5j4vK3aLr9oIYC6t9K9OA9GymbdSIWFJvGISPyONL11egg1AmwqPsJBO/VQfNh//f+EGpHSHx6Z6a7BYZNcumBB6uDurtOmSp/N1TbpIFXr/nVcB66Oq0hboWgYOWF0Nwvre+bfOSow+UFYi8SvdCgTgbUwTHIaI2jeG5KVTbfkmLIIuu0JS0F/AivtCYXAneqX8RcLEPg== 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=Uf7f8FLE1tAG/5CZYWcLNAt02o7aXX1FnzgROisDr/o=; b=lAsWXbC/QC9H9mqa79PE6eZBp/Sds9ixrDvfr5ZNXzkqVUsLnuv+Bk00HNECsIHOUnU3PGC8yu0PwDOadGF2bbeB749pge43NTCTxLP/qYlt4XUfXejZuxPETqbGiTPTw5IWDDTKse0iPUNwpB7nEphkAhBqhCGPo+xzyuQ4ABZrR9ZxGvhOtgwzlZYMx0la0GaOZAVu6tViWzuXuRMa+36Fxu6LdFenrxwE/+5sqtf8d3Qc5WI6ovELsDHzLmUhdd6kQFRyW+hOif3/4I6mnOCFiolIIRN3nMOvw2bdZm4+X1vWhshsJfFiC2zITfJoNEG8e3YtyKIk8ndJQSy/eA== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by AS8PR03MB7158.eurprd03.prod.outlook.com (2603:10a6:20b:2e9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Sun, 12 Sep 2021 10:54:46 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::787b:2156:ca99:fe00]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::787b:2156:ca99:fe00%4]) with mapi id 15.20.4500.018; Sun, 12 Sep 2021 10:54:46 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Sun, 12 Sep 2021 12:53:29 +0200 Message-ID: <AM7PR03MB6660A4B5300273860DCD10F18FD89@AM7PR03MB6660.eurprd03.prod.outlook.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <AM7PR03MB6660AA1707320F404A82158B8FD79@AM7PR03MB6660.eurprd03.prod.outlook.com> References: <AM7PR03MB6660AA1707320F404A82158B8FD79@AM7PR03MB6660.eurprd03.prod.outlook.com> X-TMN: [Ihg5E1m8fBtaMNH1AARnGiWn/2l4xiq/] X-ClientProxiedBy: PR3P191CA0049.EURP191.PROD.OUTLOOK.COM (2603:10a6:102:55::24) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20210912105330.2310204-10-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sblaptop.fritz.box (188.192.142.38) by PR3P191CA0049.EURP191.PROD.OUTLOOK.COM (2603:10a6:102:55::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.15 via Frontend Transport; Sun, 12 Sep 2021 10:54:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6dd3f4a4-29e2-4350-bf5d-08d975dbbc1c X-MS-Exchange-SLBlob-MailProps: IONHXCiRWANgiGNl30/Xz88Br5ZgdUZIHW9hysx//uhWa5um8pNowSnCE+02ZNNUgaSkfQY7UfApdl1lILlf9d/11ufEHfCoWKn7aeCuwI+HU/CKGAwSJX2e5NqYb1Cl+kuxHnp15+LU4VjKtYKtOMrOKFWsN5Z2Z0BCLi7opu2ltIC7KErgGxuaxbwYgqS1cuFyjy/tHPoXTgDWLFBKET06PhB0fRkzYYGfYfgeVUOStP6LAosyd+DgxJvVW0tgtzliPIxGTFf+LlYiInvSRg2GRpJr9ExMrAiCPS6nMY1ExYxNpJWM9IVWigyOG1FtXWLmnEO8T1u4wIIPviYytUcmx6pgfI6PXWH2/UhrxJgvkMj7qjg3z4HkP1qZvsc5sw5qTLD06H2OCmz1OXyU73SMWnvUPyiMDR7bF7XrutS9Hv9UPyetY+683Z8Sc31zSe0lqTNTeRY9MdHg2R5uKzMikZx4q5vMYXLSewjls37DDRpajXxZgEPuKCTJE0L10MZMVW/V91nFkQWIAR02xjaklPeosKYavn1h6CVv3rkz1Ht/9b4rwdTili+uZapPLFjlXSZeBTTyYloJ1B/LJ3PEi/kB7DAVMg6BRB4C9rBooalT08ldTst2jSub6BBJGPL2jdzAE9zsIPshFTUX5/nLVhvcMWlWngKg/FZT/zRE7AQhAXkO0bYyTtCSRZdUNFTLd+HR6Y1fvPjjNZBPGRN7qfT824GBumxWJGlDYYY= X-MS-TrafficTypeDiagnostic: AS8PR03MB7158: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 280QQAOjllFAr8tGG7vdTrxREFQM9eLxxgx8rVclggO3L5pim2Ptmg7NBETGoYY31h5/Jhqv7gUJ9K/l2/CdCDBcH5JwnC2KyamFt4V9iOJwXt3p7y5LSbuIsJRG/Ld2ZbbAS1kBR9lyj/G7KD1LsxXIcm+tXgRWnuYOFRrjG+bVsPuMhSMY9n8nZE9P7JKuEmr3FJFZdLXvyVrNsXERJ9ybAVvEKqHzNy/6XJJ0rDcPUtZ/jg9alIjR2WDSRRnrjra1yveKs1qyB6EG9dMBOH7g2tW+pKWKPVhmgh2JaQ6u1pktaVRxOjoX4XOv7VAqhl48N73WBiJgSuPXKxgP+66A74ylKuTcqYQMh+YUWi4TIlpt8tZDXmAZrPl9sRHwan3+ojCGRqVJ+foE22xHavrQnRo1gqhk+pWYOPjpHpNm+AXhd0FJAc49d4eNImcR X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NlOs+2xNVBclujvmFjYWu7DOx+J9gvnxu+yWfwYs3h+Hq47YHKC6lBL1oCMOhcBopA5WQoAjF9UPp3rizTzi3WhiWRtTk8h/gvD2I31Icen00rCjVJ34ay6+b9MoXZFMcPO4FStLcH/QsCZVsqH2EA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dd3f4a4-29e2-4350-bf5d-08d975dbbc1c X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2021 10:54:46.5855 (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: AS8PR03MB7158 Subject: [FFmpeg-devel] [PATCH 31/38] avfilter/vf_hflip: Don't call av_pix_fmt_desc_get() twice 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: yucBlb8GrNyg |
Series |
[FFmpeg-devel,01/39] avfilter/vf_maskedminmax: Simplify init
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | fail | Make fate failed |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | fail | Make fate failed |
lgtm
diff --git a/libavfilter/vf_hflip.c b/libavfilter/vf_hflip.c index bdff052b45..e15cf22f9e 100644 --- a/libavfilter/vf_hflip.c +++ b/libavfilter/vf_hflip.c @@ -39,10 +39,10 @@ static int query_formats(AVFilterContext *ctx) { AVFilterFormats *pix_fmts = NULL; + const AVPixFmtDescriptor *desc; int fmt, ret; - for (fmt = 0; av_pix_fmt_desc_get(fmt); fmt++) { - const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(fmt); + for (fmt = 0; desc = av_pix_fmt_desc_get(fmt); fmt++) { if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL || desc->flags & AV_PIX_FMT_FLAG_BITSTREAM || (desc->log2_chroma_w != desc->log2_chroma_h &&
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/vf_hflip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)