Message ID | AM7PR03MB666075A25E846ADAC708D12A8F269@AM7PR03MB6660.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Commit | 66d4c721622bcdfb0ae8ec146994500ba2270d43 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2c4e:0:0:0:0 with SMTP id x14csp611338iov; Tue, 1 Feb 2022 05:21:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyb/oSRXRTKS7O893rBM7BRjXyA9/n9FeqaNicwIwQG5SDRvku1bBJvR2uWcd9fqoB/g6ke X-Received: by 2002:a17:906:9b87:: with SMTP id dd7mr16415563ejc.758.1643721674210; Tue, 01 Feb 2022 05:21:14 -0800 (PST) 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 u9si10928768edf.395.2022.02.01.05.21.02; Tue, 01 Feb 2022 05:21:14 -0800 (PST) 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=Yxcy5fLL; 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 3D19868B192; Tue, 1 Feb 2022 15:09:01 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2048.outbound.protection.outlook.com [40.92.91.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 01CE068B388 for <ffmpeg-devel@ffmpeg.org>; Tue, 1 Feb 2022 15:08:44 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hVUtQ5wj0mRJI/dtiYO8yYJBt4uxBxWXzp1VwITERMFLGaXATq5Z9XKmhUcYaAoKRvvkkvODDCFxB2wms5qcd8YHZGJ8Ai9fqLQtu4QZQmB+p3mz9VZvD8sjhSg2Is5lUtbBUYeADAXYV5aOZRDphEsFzudj81VkCfoOLfyuiXhIytMsjqYTvM8v1mI3I10EgCCJImYBVBkFVciY9ExNLDOzJ1EsSkYuYisz5qtgA0Pu6fd9Adngys6XzYicWQTmgHqC1LfXYaqEPQS9R3H/SmQS6dRdl8DT4KvrVqLkcxxUJh+ViZPkwmFmp/q8EnLxKh24W1FulSD6ljIjni1APw== 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=92dr/xUlGIAzAm3kGZNa+Q0xO3zzm199OmpaCzPMSq4=; b=B7F4R+KCHOXOOxYKfjzFQnK4toRAFCzJs2AXNQCsqEfRufOwYQ30VIrlWXokmbALeuY+Uis6ZRbFiR3XrHyCibcHFT1x89Uc56/Onlskj+/KglPb4+g1IqA0y8obwngC7DcRv3mTrSe/0iKVeXj0b8f6Bgg0Yz4RKj1qKDPCDg32RG270Xd/i7gGLhqNv2ha2aXDlx4CIM+q4fNxI8xfsvHG0RGwBhSUczaw8Ap149AOzxV20tJSG9to32pKNlMIzn0cqrW5XLkOa9eFlRgUtuo69MJaJ3X6yZnez5ZQM1J0d4Sb7LsSSIMu/nr8gLQU06m08+OAY6IZsjD8EQ8zwg== 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=92dr/xUlGIAzAm3kGZNa+Q0xO3zzm199OmpaCzPMSq4=; b=Yxcy5fLL8t98thmcOmgXFYuIhIJZCGy5+KNSlykq1a8lff5rERJ75QKQH192vBObqAwfdlW7QYME+5YDk/ShODIJphoyxEIWnBSAOnN/s/LLqeCrscZTwWYpwDhYIgr60Pyy+8UHL61n9E2/O3hxjr4Sin09SBNAWaXJDbj9WK6sWlc0N7XzFPkrhc7aXjhJs3zC8sgxsfG+jZtFofpndVp2tuWn4u89+1zP+Ev9KL3jNQWNbcUZXc/AYxyp+uXuSSoklE3b4L3I1h1S+eGk/qAIa4AJxSRVMgXUiXuH3PfDlkwKNEi5sTVAXixU7dA/c4PDQH0P4gIhPfYmUPfioQ== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by AM9PR03MB7962.eurprd03.prod.outlook.com (2603:10a6:20b:439::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.22; Tue, 1 Feb 2022 13:08:41 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::ac56:2ff4:d304:ab22]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::ac56:2ff4:d304:ab22%6]) with mapi id 15.20.4951.011; Tue, 1 Feb 2022 13:08:41 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Tue, 1 Feb 2022 14:06:53 +0100 Message-ID: <AM7PR03MB666075A25E846ADAC708D12A8F269@AM7PR03MB6660.eurprd03.prod.outlook.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <AM7PR03MB666068F62BC40F2C6EAC1C658F269@AM7PR03MB6660.eurprd03.prod.outlook.com> References: <AM7PR03MB666068F62BC40F2C6EAC1C658F269@AM7PR03MB6660.eurprd03.prod.outlook.com> X-TMN: [cBAvQHCHQWFDSF3DwdFd1HKNy8IKsIkO] X-ClientProxiedBy: AM6P195CA0092.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:86::33) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20220201130706.1420875-55-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: da1c5ffb-c47e-4a5f-ea67-08d9e583f80b X-MS-TrafficTypeDiagnostic: AM9PR03MB7962:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7ifwu6jaQDTkyUsE0zvk9MvvXaKe8tzNJ8YX7kAsmsFQeStW5m+AkwOzZKb5rAEdfSU0XgeIaBcwxhHhd3Pkyzz85dxzjvZEFV2pkLWNui3aoRfhLnNv6bINSDmQPfdxQt+RvFsa/D+9IXk9GhVVNqI22RMgE7KStN58jae+19byy+omM8dvbKYridkfw76VFF3c9RjYFC7znAju84Rdh64kM9lMc0H/BA3qJFHj3sf3gXKy3312R73KicL3y6hC7GHb5x9BprrITJQrq4GFUqiXkrfo2/0jIuMbDDx9AfaUb4oLymTysqzh+E1Rzic5qa0R7uMxTP88ORqRaXZRjfhHVJV21JlgGbyIWL+J4R15M7CdQwNxlPb3bycB2Jbm2iBIO2qab/QdiSr8DNp/qhw7vt3RvYjLIYw9unh3ei8g38M+LanfNKXIFaBUOOSdiYL9qZwJ2h1b3eiuxMJXdp2y3OhlzBlWwkkGs1yaMYspCzzdMVPLfETJNU98+4Z+NleJOXcqQuoYP7B2oQxAJLiQN09KT90XBTfeicMsxbU3Z/vNKu6LZbrSI3qKF4Ez X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /F2/Xwd8N3AvmVMzY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R03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2022 13:08:41.5736 (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: AM9PR03MB7962 Subject: [FFmpeg-devel] [PATCH v2 56/69] avcodec/mpegpicture: Constify src parameter of ff_update_picture_tables 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: hk/jKuJxaYCH |
Series |
[FFmpeg-devel,v2,01/69] avcodec/avcodec: Avoid MpegEncContext in AVHWAccel.decode_mb
|
expand
|
diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c index 27e497c404..07fc79685c 100644 --- a/libavcodec/mpegpicture.c +++ b/libavcodec/mpegpicture.c @@ -333,7 +333,7 @@ void ff_mpeg_unref_picture(AVCodecContext *avctx, Picture *pic) memset((uint8_t*)pic + off, 0, sizeof(*pic) - off); } -int ff_update_picture_tables(Picture *dst, Picture *src) +int ff_update_picture_tables(Picture *dst, const Picture *src) { int i, ret; diff --git a/libavcodec/mpegpicture.h b/libavcodec/mpegpicture.h index e1e9f8d7e0..67f83404fa 100644 --- a/libavcodec/mpegpicture.h +++ b/libavcodec/mpegpicture.h @@ -109,7 +109,7 @@ int ff_mpeg_ref_picture(AVCodecContext *avctx, Picture *dst, Picture *src); void ff_mpeg_unref_picture(AVCodecContext *avctx, Picture *picture); void ff_mpv_picture_free(AVCodecContext *avctx, Picture *pic); -int ff_update_picture_tables(Picture *dst, Picture *src); +int ff_update_picture_tables(Picture *dst, const Picture *src); int ff_find_unused_picture(AVCodecContext *avctx, Picture *picture, int shared);
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/mpegpicture.c | 2 +- libavcodec/mpegpicture.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)