Message ID | GV1P250MB073767E87D225562B2769CB58F032@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | b00c6976547c4d08b32c6ecd7ecdfebb916ffab7 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:24a8:b0:1a3:b6bb:3029 with SMTP id m40csp936303pzd; Fri, 5 Apr 2024 05:43:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVRzDJTlQ6syTmFXH5FZkin3S8EnhmPQe1rcpJ/0WOgsihTN0hXD8ben7GsIbdCQ/j50a0o5BnHIOkUggs1wk8xDFPul4AP+O7goA== X-Google-Smtp-Source: AGHT+IHKJQoPzlgOADSlA4FD3vQ1v5MPVv31YOnxQlZw5O4TuTSokCMIwPnoru4Q49rHFBbFilLL X-Received: by 2002:ac2:58ca:0:b0:513:aef5:b431 with SMTP id u10-20020ac258ca000000b00513aef5b431mr958036lfo.4.1712320990869; Fri, 05 Apr 2024 05:43:10 -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 y21-20020a056402359500b0056bd18934efsi741151edc.439.2024.04.05.05.43.10; Fri, 05 Apr 2024 05:43:10 -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=ABUbs+iT; 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 52B4F68D1C2; Fri, 5 Apr 2024 15:42:22 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01olkn2091.outbound.protection.outlook.com [40.92.66.91]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9BDA168D1AC for <ffmpeg-devel@ffmpeg.org>; Fri, 5 Apr 2024 15:42:20 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hxLmH4Xoy0YFRZrEjzMaHgk5sd1sP5kNr+SaiqQ2dIf6dAwZK+j4CbZOgxeHxW6/HM6D0ht1Suc1XxaV7bdDcZSxTrm8bRXpZFkEspyuJNXEPdDxTcgYK51U/NMUfkIXcQmzYIrpBueDV6prJiFTyZ5fbanQfMGCTJ/Gwt8pESl1XeUrCVE47GvjPKL2Yfi8buHFzOCAqZc8EVX6jye+E4aO5rQX2QSnWCnxIMF/jveFDVqgX/8T14JY1YLX1KOYcUKr6kObeFax61TeaemyVVa4PemhIqp/Ijh+IiSVM6iMQK++0CEfb674NpZtsg4PnYECITGloBKDseLjB0o0aQ== 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=8Emwc9RGBdRBrWB5+N7CERh+OJ1Z1koDdPVPbSAgP2M=; b=oZ2DJOgnqlqQJR/tvMBPCZ/PDlnSkjjcua2huao+eg/1fHNzeu2mXIkhDdNsIoCgJkloHOR61DuQxyc99e8SB63PIubXWIA+iCq1H9I5PFfpb+aI7f8ehKaQ4QMIwlgZIVnlmpLbs+WcEyQVbNKKd8VJJuNgIpPe8ykTBuapDE5HZ5lKtQipm7w1PQ7Yuzf+ZhEYvN1zqjGJ6oR7XqLvup7VVhIA1Ex+utrPJGOf5ohtW4Qe/0GUefLCYy1gYZzQBGTrRTvJTy8p10+h4VbflpthM4h312/UkXcR1oXAlEBmDdJ4mYBggYi0snqw0ZcYl3nmbP3Bc8H1PCWmd4oP+w== 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=8Emwc9RGBdRBrWB5+N7CERh+OJ1Z1koDdPVPbSAgP2M=; b=ABUbs+iT/myXZuRbH1iLdQL5wjxecX3i07+sNCLoaK0Oe1ymFV5js9N604PUWlOPqiRBcpXGkz8Cd3g+sYbd6bm5FSV1SqUg6goe1L6BgsX7ryuCBL7sOdFY8sA9j5cOspm++rK1ByPM/f+I+gWximgyO21lV/ljx7aqT4z0dsTVkwAo+m4+QzE2DADteIM5pu7gS6204AHj4OM8eaZogROPQYhWaB0fskocqq/E28MCYp7H5sp6S9s4H7AIeBeUyT/VmiMeIolUeh1HOljR1yhrkiKHfCggPPqXFZn47oBT6Y1/8oue1utu6mEqBpoeuKp50FHRnu5v8pizeOgpHA== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by PR3P250MB0002.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:14d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.53; Fri, 5 Apr 2024 12:42: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; Fri, 5 Apr 2024 12:42:17 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Fri, 5 Apr 2024 14:41:33 +0200 Message-ID: <GV1P250MB073767E87D225562B2769CB58F032@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: [mSBCaC3zvoAufPwWzd2M8ntlo4gpTn+O16HhVKJSVOs=] 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-9-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|PR3P250MB0002:EE_ X-MS-Office365-Filtering-Correlation-Id: b7d5a264-0821-4ee3-9e8e-08dc556dd3b8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ilsGd85WxSFap6AnoXMFIM4caYb9svZHYNb1pmaHrY+iHjkg9QaSbPEtYr4ctKSN5ow9gOQ7CCx0RJWC9ITempiS+Y1zmvBaP1Lw6OQgj/iCgP2Z75/OpyWIEXLN7uTEpzEEJAjYeEVq2OoERmMlh1gWppNBJAanNkoCdQYKE10A8gl/Q8bpK3ezGDf2Coom2GttOMI3TzvZCuJyxOK2QaLc15T4zLdAt4OhelzGuv8u4VF4DHP1+OkHVnge40TVDLHDKmHacYhZwWCG5NMhgfuPdekEJ4h3jymHOU1QYCoiIoeA8aeD1V1MwUkScdAm1a3KLJ/XDoXE8dH7bGA7nqu+4sdRfti3axArJdtop/iD07hd0IcOGnYKkINgGDSKXLY+XJjK4lmcqZ8NPpQXY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ohs6Pnhu7fCcrnXeOsKhXvVZ4bpav+tY3PAkgkqtZ9+1RZxKZCZDjzCNVPitKSMXni69i5N5ld4LOqt7jtXf4AWhr2ap8bNNje9Gn0qBXx1RcfIXpQ9TxgKglDPehFfvkv3F6DoQQBTR3+5s8Sxltyc+8oF3XeoM5HEipbOc7NMmIDo5JW0nLdnxUItBr8mjrRPfuPQIL1lyO2dERLPeFwt/kasR8jACOiEssPfhxf2rTANke9kW6w+BZbIDAKbqnNHIn18ddxQjPYZ9ZJ/L/6haGc+RgRDaxZcP45RMW0XZVH6u/STAu5tpk1oOm6XgMQwsG5wnUMiMudWSRMCQVX9hZ3zJnJiJIfICadxy1w2LLm/xc9UT4M9qVadsPUZI5jjIot/UiJ+4Kv2gKMBs0VaPyxttzAJ+ZkNNgu1oBTI+SB0fEjRK9VbMUew+3H2kc81YV6oJlfod9A/yrX4Ret3FFId+AQBJwreV3RTjqCkt6lGrGFlrPGiK661jH9S91rIcDmCBHw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7d5a264-0821-4ee3-9e8e-08dc556dd3b8 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:17.4095 (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: PR3P250MB0002 Subject: [FFmpeg-devel] [PATCH 10/15] avcodec/mpegvideo_dec: Remove redundant code to reset keyframe flag 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: xuIDKYqEjT/u |
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/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c index 9f674488c0..4fa89e4aef 100644 --- a/libavcodec/mpegvideo_dec.c +++ b/libavcodec/mpegvideo_dec.c @@ -387,7 +387,6 @@ int ff_mpv_frame_start(MpegEncContext *s, AVCodecContext *avctx) s->last_picture_ptr = &s->picture[idx]; s->last_picture_ptr->reference = 3; - s->last_picture_ptr->f->flags &= ~AV_FRAME_FLAG_KEY; s->last_picture_ptr->f->pict_type = AV_PICTURE_TYPE_P; if (alloc_picture(s, s->last_picture_ptr) < 0) { @@ -414,7 +413,6 @@ int ff_mpv_frame_start(MpegEncContext *s, AVCodecContext *avctx) s->next_picture_ptr = &s->picture[idx]; s->next_picture_ptr->reference = 3; - s->next_picture_ptr->f->flags &= ~AV_FRAME_FLAG_KEY; s->next_picture_ptr->f->pict_type = AV_PICTURE_TYPE_P; if (alloc_picture(s, s->next_picture_ptr) < 0) {
These AVFrames are blank and therefore the flag is already unset. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/mpegvideo_dec.c | 2 -- 1 file changed, 2 deletions(-)