From patchwork Sat Apr 6 12:18:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 47880 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:24a8:b0:1a3:b6bb:3029 with SMTP id m40csp1498115pzd; Sat, 6 Apr 2024 05:19:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUzK3LIgxI2GapMi+5nsf3+RXl5u0KTNvbcxdQTpOArOfhquQWv8iyoVibFBjfJuMBrKGfi36/KzM8zXKWIrTMyptXAnIjsmYh4og== X-Google-Smtp-Source: AGHT+IGXHhwIBGfEleCvMaI6ONA45rkOw9jwSUMfMEg8Chakl0oeuBpe2VVT850ueGrtrftObyep X-Received: by 2002:a17:907:1383:b0:a46:f9a0:748 with SMTP id vs3-20020a170907138300b00a46f9a00748mr2217205ejb.5.1712405960419; Sat, 06 Apr 2024 05:19:20 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id sa20-20020a1709076d1400b00a46c78444e4si1724323ejc.788.2024.04.06.05.19.20; Sat, 06 Apr 2024 05:19:20 -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=li02hE+3; 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 6B81868D083; Sat, 6 Apr 2024 15:19:16 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2036.outbound.protection.outlook.com [40.92.89.36]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0DAA168C7C2 for ; Sat, 6 Apr 2024 15:19:09 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ONHuBFf4ywsOEWnFXJObvhFdWEucKITpaZY9XEW2fYVOFk+zb9t0QlTOFmAqZaEO48gkLBzm5c7jw7QC2GGnCp9iWY7b1hQMgfv4rzwZgS6CGuV8+mfkWg600lWJzrOGWf3Aa/lBfSD62GAz6oBb7kjsakN8Nm0XhP390G5Xg0Uti4HmvMUZB/1piaL/tJwdDoYuzFBsU6Yt3w1RRsfOCzCra8dkABpV6wsWs82UcP5aLZ8Jh+NVasI2FjGgafgNtQdO7P8x38KMbRoFxR9GeF5Bv5+jaflr6m4z/jvmTau9Gi334ooMxMhhvLS6p/FM3PHAcJR+5wDTjhnuAaAcRw== 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=M9uD8jDQg3Nn1Fr2PanqG/xl+JqoNVfQ3j7/tCEdOKQ=; b=miZC3Hz1ZuBSzvMMiCX7I8Kfv7DUfqpo9b6UWQSfhOYKfJL0Lr/yLLvEwfakFxo1r7tbNHhJxfyDrjdcc7cOSijOkcIXYLsjHxPUgyvWwPQ6I8uR541aP9Iv9ujgnL6wRa4RlSYicoho6zjoq8zDLYiNFhMq79x8XVnmVbmFua/H8kOa7yAiR1Kb/Sfnk7tS/1FC6LvEBBnqaWvEpQp3J6zw2fe/GRG270J+u0d/Yp7bUcCJwqPglhKvFt/6QqW/GijGI2Tap8ilFbWeCDe75dc/PJs2BJQpQa7S0fR4kBVQiWYRL6F2DiPC4NfATI2PeNqqpjj/5iBo9TMnQu0i4w== 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=M9uD8jDQg3Nn1Fr2PanqG/xl+JqoNVfQ3j7/tCEdOKQ=; b=li02hE+3E756Fp3TUGd4rLplug17yaRWivHGclxh4DaPJfM6gIaZ4lZDhnEme0P1OJJOqQn1UZs6Izjzbp4JxPbF0qcQ3rtBoJuBl1IZwSwDVlZARKGX8e2bphrUk+avNT4/YUK4RIkPlSQ1oV9VUst89TrXTgVKfjk0kORxh3N5mjoA/1mheMW7vCnK9wjRbX9c5tOJmsF9e8qKX88ZqDYBSp/M7WiuN/Jb7FYn275piPJofcXHxxHjODSJsMWvYp5pq84H3pB8QZofHmkXz1zIgbC6wKp86TkgJ60L7N8zXCbMTNK+GWDBvLjBV7EtmaGckI1eL0q/apFZkXj7lw== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by AS4P250MB0461.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:4b0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Sat, 6 Apr 2024 12:19:07 +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; Sat, 6 Apr 2024 12:19:07 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sat, 6 Apr 2024 14:18:59 +0200 Message-ID: X-Mailer: git-send-email 2.40.1 X-TMN: [ZvnHqTDv33gxYCD+t0kcB2LRIC8+iWDVe/j7cGGcRmA=] X-ClientProxiedBy: ZR2P278CA0056.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:53::8) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20240406121859.78136-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|AS4P250MB0461:EE_ X-MS-Office365-Filtering-Correlation-Id: a06279ea-63d2-494e-ce32-08dc5633c1e2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WokiHqpmNmHn1VFgwwAjYhZPBXNz6AT1DKH0sv2j2qd2b+7Ezdenhijfuo8LTr4NbEL4cMn8bzut1JhZB6sudcE8RomRj8XWwIukLFhsiCdZ1sM5Al7qH3OErhzyiECVWxFz/OEHpHERRYMG7Fllj3GVpbXyInIkSRL+d2bh1j3p9gXqvj/+ap9abqrjxXQCyIh/YxF+P49RSPZculScDaogxrb7DjNsDbXaiA+Ef9VqaO4diFBYMjwZtnkmz3S9YCZ6WqRo+x/mDWYG4BDDgaFNqV6aGJyTUzl8jFqJaTAFj9St0qtHYx8sR5Ng4YA84jBqaCjZYdanCb9VEDxz12aoDM+uBDfKF5wUWN7/cHKGlBUzFo438p81j9gV+wVYAfTObOgknJqvKw9C0YEqvn8eC8pL1boWG5lr2eWyLRIW0CSF5GICQX113bXhn1pqiVw2G0RZGI53YbIylGmRb5s6TWZL5osdUde39crDP0l2aYBSg0on5Uk9NmfrHcTrqkmZNjPimbSGJpAxOLQv4VwPl2p0PBIg4Ptq1InC7TB6P2P0Ku0afE4AAO441s+YHitIGv4gDUYZrs1kbJlUzzhwpk699i49kta7DZ0/opTD78Zv/uC30knVsPzx4Vfb X-MS-Exchange-AntiSpam-M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ltucEXuCyrkhHs61+6OfaSli+DKRvAG9+RYowzGaOaxPNfpPVgczFPvGw4ENZovgY1hNowFKqBq0N5++4bXF1s9Xg3ii4F6gz+rB8iYwjB8goHYVg+7RJxciR3qpOixC0c8NjKoXh2KwMGzyLAW2VoXtUq8sPiw2qN+PHWAZ1He93qh6xw9yIj8oICW+dSQzKxb3d6ADVu30Lq+SUrPZnjLuSPOh1t1dxpkIOnSGpcqKl4behyE/J9nAHT0e1JrW+wQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a06279ea-63d2-494e-ce32-08dc5633c1e2 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2024 12:19:07.8510 (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: AS4P250MB0461 Subject: [FFmpeg-devel] [PATCH] avcodec/h264dec: Remove unused coded_picture_number X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: SyNFJiPnA4g2 Signed-off-by: Andreas Rheinhardt --- libavcodec/h264_slice.c | 1 - libavcodec/h264dec.h | 1 - 2 files changed, 2 deletions(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 4b01c54147..f61af0d6d7 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -388,7 +388,6 @@ int ff_h264_update_thread_context(AVCodecContext *dst, h->width_from_caller = h1->width_from_caller; h->height_from_caller = h1->height_from_caller; - h->coded_picture_number = h1->coded_picture_number; h->first_field = h1->first_field; h->picture_structure = h1->picture_structure; h->mb_aff_frame = h1->mb_aff_frame; diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h index 447c2499d9..fc50df90f2 100644 --- a/libavcodec/h264dec.h +++ b/libavcodec/h264dec.h @@ -356,7 +356,6 @@ typedef struct H264Context { int chroma_x_shift, chroma_y_shift; int droppable; - int coded_picture_number; int context_initialized; int flags;