Message ID | GV1P250MB0737F4865D88560CAA30924A8F032@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 1a5452655aeebe832e84561769e81e2c3062a8a9 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:24a8:b0:1a3:b6bb:3029 with SMTP id m40csp935969pzd; Fri, 5 Apr 2024 05:42:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU6QEcqp57Lep59dJGXaim7wQIaSYrgkJQ/BFglRWfhy4KXmwEidBVqAI02ZRhDqez4uf3XSkfSnL8mDXemXjr6z6cxYYpxtcjjuQ== X-Google-Smtp-Source: AGHT+IF6uiIEU7PNn1j/OOHnyGXNGaRGiTx/Mf6Q7kgayyuMERQSeSeXZOX8UStfw+kAuHVEuFai X-Received: by 2002:a17:907:7243:b0:a51:a008:ae4a with SMTP id ds3-20020a170907724300b00a51a008ae4amr1332560ejc.1.1712320947607; Fri, 05 Apr 2024 05:42:27 -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 s5-20020a170906354500b00a5196a0156dsi689136eja.50.2024.04.05.05.42.27; Fri, 05 Apr 2024 05:42:27 -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="XKZR7Zn/"; 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 5609E68D189; Fri, 5 Apr 2024 15:42:10 +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-am6eur05olkn2087.outbound.protection.outlook.com [40.92.91.87]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4331F68D06F for <ffmpeg-devel@ffmpeg.org>; Fri, 5 Apr 2024 15:42:08 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eCDxd0QJBwg5qzYVaSjxkNF5QuU5RT4LWvb6wlJDIkJCJ6mzqppQiyP1RLJP9GTIg2CzTKFuILkPK5a2AoqQSIyZWzPYY5hkFnS2e7nWms7T1a0EaDFMTUj3289XlJ3PO0hVWGSZvULfs7CFdpMtsKRqqHqgXFU/iZreMLr5FdUrFzR1Wyr9mmRQczLdC0+IfKICPZZZFuRyPbW3sdiBru2gplLu1wJTtdLHfi9uw9HlRyN1Ay+ZOy5AjCt+rY/7VKhieTdPKaszQKjh83VJPX601f05q+Eub+FVAgRiO3LQ5cd7p62pqM4jorDZOXK/Bg1wjhZxSVIRDnFZo1cFNw== 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=NmHLfa2FjNWDSrU86UinwdXpsVn/RKgM4NTLAxgn910=; b=k7uRpig15zsM/3a/5LAqeXBIR6EdwlPNk/jk6hMJeFF9PZVO5PCYrHyzxLTx+SssRb8osbAIOZVEaCk1+MzhIYz++fk04FDvN4dgB0Pfd95mwZckveMIaPbkIL9l+05l5rXH1gUob9k/52rSjM184DvmLyG/vqnSB45d6zCT43p467JYO/775oXjx43F+dYqHNe9Z5nsBjRUn5nOQhXALfvovyy5c/vLdykCigNU5pyuQuY11geoYoNJ3NqRHiqz6RHhdbi6SRf/YojJfEnNV0VXutdLE7KEqcg8/WmG6S3XbXsqIOn8idiz0jvZZDETXq+JMi3KU9AleCO1uGDWgQ== 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=NmHLfa2FjNWDSrU86UinwdXpsVn/RKgM4NTLAxgn910=; b=XKZR7Zn/P0NR+hEG9Cd6/J9TDrnJHpZO0Hef3Ide8knGsWOT3pB3G8ia2yVAz7J3QE1Obe+ls+WUg2/SPy4KNnSMvPfjcOK2OYZOzwr66vXWsYzaC2stch6HP0de6CNquZVBC0H5QixkhrJ3OzlUSnW2YjRF38PPrH2BA6h0DHcDISg906qQI2GZ8EejS2VrQIzYsoRet7N2fR9+GcXiQmD6WXgR+oo3KuZhMoZG9s5xfY9ig5OkSg6yu3ZvVm7Ir3JmsJJihSHGPTXzUqKKN2Ig48qANx7AMbBher9iSHipHez37j8z9d0wMf5CypiPao+K1Ls7FhnVQd2q/410iA== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by AM8P250MB0278.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:329::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Fri, 5 Apr 2024 12:42:00 +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; Fri, 5 Apr 2024 12:42:00 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Fri, 5 Apr 2024 14:41:28 +0200 Message-ID: <GV1P250MB0737F4865D88560CAA30924A8F032@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.40.1 In-Reply-To: <GV1P250MB0737AB31294010EE180AF5828F032@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> References: <GV1P250MB0737AB31294010EE180AF5828F032@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-TMN: [7HcRPp62fwjRCuY4+b8LdJ8T2aN8DcimlG9E+PzItbw=] X-ClientProxiedBy: ZR2P278CA0074.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:52::8) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20240405124138.2343725-4-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|AM8P250MB0278:EE_ X-MS-Office365-Filtering-Correlation-Id: 63d2b699-aa1b-4182-6c5e-08dc556dc99b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ww5G9D+4ATdl0u0/xYSMz094NcDTaX8cvjKEhVJSG10hcv5/8/ZOtUYzEG/8fkwkCCjOOtU0LhXleJkTeIuzOMInamE2Nb2PtgyFXuqsN4GTouNahRToM9NJh/FvxzmUKD/nNBwmaLz/HiHNjsZ/BpbzQZsxKNd8II9klilXPyeDT51S5YHtImfJlgYmXaumgfaLhVmfTTBHLRzRDptDy1na6WZliCOpfI8r+5o9Og4VkfRGPSQB680XVezit2C7gQ/FKyoX3D2cMVPGRVuNozQCjl1nIHGgbcPlGgv/sbNDT5I0I0qvDTaZwjmkNZfDvEQQV5/GbNJ4Qjv9tQWKuT5bvza2J5oSAyCNj+uFoKKx+riIHzN/KzThxc91Dduhp8t9B8lf0ZguOwa4tjSRro1r1VSH+LjzSecmT0F+uGCJ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wTi5qK5uWoz93xoFjgSzWveebYRs85MjSDg7T8cZIqntN1XEpxrIKB1V7v0yaAS2Jflt0Rq9Idr2Pl7GZBwikDwca4RktOFxe7wCCl2cpepW3jNqdNFfr04uUqqbYPx09kgRdshh7q4Kzkl0J+nT1WEqWHFVUeJ+2OkaUzDRb4+smOuyTNGyUH8YQsq2CNJyGapTktE5osD1w+ztKCKUqyiC8uSHGDF55AHv7ir/go8Qq6i1Z0KUHZYEU4kDPTBTve80Sy0sm2K7HAaEcw3CoqCIO6od2Rya980ElxMFeUuroa5P0Wmyw2xq/OwsB+lTeKThfxG21Vs9QUHL+QeuVcH2G1vcl7HB6MaJUghHqwSaPcQQ5srXu4Zi/20kqgZNMn7pt+PMLpc/TZePZB+LY7trXjzneskgA8apmcbMRIeE2fo6ampzQHN+CwE6v0RwocW3YLjJfJA98OiQh5lUNYmyp5Ug/Oel34jxDpN38bDEpj6GNFA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63d2b699-aa1b-4182-6c5e-08dc556dc99b X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2024 12:42:00.4229 (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: AM8P250MB0278 Subject: [FFmpeg-devel] [PATCH 05/15] avcodec/mpeg12dec: Remove redundant 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: vA61ME+L/aFE |
Series |
[FFmpeg-devel,01/15] avcodec/mpegvideo_enc: Don't update current_picture unnecessarily
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index fb8bba3287..83ff40d237 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -1301,7 +1301,7 @@ static int mpeg_field_start(MpegEncContext *s, const uint8_t *buf, int buf_size) if (s->picture_structure != PICT_FRAME) { s->current_picture_ptr->f->flags |= AV_FRAME_FLAG_TOP_FIELD_FIRST * - ((s->picture_structure == PICT_TOP_FIELD) == s->first_field); + (s->picture_structure == PICT_TOP_FIELD); for (int i = 0; i < 4; i++) { if (s->picture_structure == PICT_BOTTOM_FIELD) {
This code only gets executed for the first field. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/mpeg12dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)