From patchwork Tue Apr 12 19:25:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 35296 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:671c:b0:7c:62c8:b2d1 with SMTP id q28csp1750710pzh; Tue, 12 Apr 2022 12:26:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1doSywplIWIJaT8H4Sg9MKUFr1DqF55gD2mN9QfdqMzSANbfgF5hDj6jFSxkrkQqtBM4v X-Received: by 2002:a17:906:dc89:b0:6db:a789:7563 with SMTP id cs9-20020a170906dc8900b006dba7897563mr35220054ejc.471.1649791568543; Tue, 12 Apr 2022 12:26:08 -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 u19-20020a1709060b1300b006e89c09aeb7si3785180ejg.539.2022.04.12.12.26.06; Tue, 12 Apr 2022 12:26:08 -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="fX/lxv3/"; 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 2B31768B3EC; Tue, 12 Apr 2022 22:25:53 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-oln040092070030.outbound.protection.outlook.com [40.92.70.30]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F142668B3D6 for ; Tue, 12 Apr 2022 22:25:45 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MiF+RqV3dD4zjDZRULkv0erjM+/T+6PDYzFiMXEbYSUw9pIYxDI3SKYgWD8rV2LM16LNqwmNrKK/XRyrIAxBuiuXtudovwTvTc0hTu6mAVoTdb9ebM0eqIcAbdrNZzxViPhjRoLyGDbLf1oh6agJPXNuHzMZ2OUjKx+LvXEeArJlYFHAKeN23zH1fo70BpaVnUVj1b7VMMKzo6ySo04vwIxYj9VPtZ1cGsaj7nsoT4348+Q5A+IjUoSaFc29Ybu/ccwiVsQHrmIoddmaaAZz8K4yEEJpqvp6OwSOD0nONVHZWOo+YUIEfotrkjouBYFVPA5lRuhncgo3I0K/o+AWgQ== 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=XATwSpbzYJqrVhb1betFbnCeZ+VOBr7pyrzagoyuzr8=; b=DVFmQc9c2qk1uXAN0cnthmr6m6ekppNv5nNSXN3ORaCTM8EUOlcr7yW0gRl4744Cp5gZzfpMOFUAhUq1TilHQegV+URvbDZu7O9zR3d7zuiHAQna842I4xGRwNjNkpMCVnnJivagPT2oMd89TPujFFQrUbgHamdgDNHPu0mbOPWtOu0dnNhViJM2zIz8kaVDKHrYG7xSg+ymgNB56ElSHn9WRRPM4y2UrDI/VksMA98kqC13pAEvq3fDF8Lj0kPdAwV5tROMaA/Byh6/4I4VRpAFZh1vVMv09BPCEKv5CXm431MwCgDRu2ugZcuRnuSXx/hzAfI5/Ofv+lZGw6GVTw== 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=XATwSpbzYJqrVhb1betFbnCeZ+VOBr7pyrzagoyuzr8=; b=fX/lxv3/ohYcHLdmBFcZdpEis510iTVm/6F+89iu2BP8exaFt1T6iZJyHEZ/e3bMLYRswaFjr49fOvbd83uiTvOd+fFjXLxUjiT30eC4AWRZCczEckDuXeaB6OIPWe+TooGB/Dwrx0kDVCrsIpo7D9hLRJE8P6MAf2uAMlNMG2MP0JY6DRMCkRAFM6YLphiU0M5fn3FlNAEpTN5RRqJaRXNrJq4RIEuB9Dmd2vI3UX6e4HR2Xq/vUohuVbprW4gjV70fzHjzSLECxdXNPeNhvj7ISbtLlv51T6MFHXElL96v08moN9+6YBJkEfKko72QpB72LTl5VpfjHrjl3BGchw== Received: from AS8PR01MB7944.eurprd01.prod.exchangelabs.com (2603:10a6:20b:373::5) by DB6PR0101MB2230.eurprd01.prod.exchangelabs.com (2603:10a6:4:44::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.30; Tue, 12 Apr 2022 19:25:33 +0000 Received: from AS8PR01MB7944.eurprd01.prod.exchangelabs.com ([fe80::fcc3:1285:374c:9b2]) by AS8PR01MB7944.eurprd01.prod.exchangelabs.com ([fe80::fcc3:1285:374c:9b2%5]) with mapi id 15.20.5164.020; Tue, 12 Apr 2022 19:25:33 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Tue, 12 Apr 2022 21:25:21 +0200 Message-ID: X-Mailer: git-send-email 2.32.0 In-Reply-To: References: X-TMN: [sCwNI8Qg9VMoI5VkulNn7kVgTCCX0z8S] X-ClientProxiedBy: ZR0P278CA0174.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:45::20) To AS8PR01MB7944.eurprd01.prod.exchangelabs.com (2603:10a6:20b:373::5) X-Microsoft-Original-Message-ID: <20220412192521.750751-4-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 009dc258-23c3-4314-8d2f-08da1cba3666 X-MS-Exchange-SLBlob-MailProps: S/btQ8cKWiTONvFbsB6nRbYK9Q9ndC83AKWffs5+n+Jf7V3v0KXsXjeFkYyrGb2MQofmuEBXemlCsr+d4j2ymjH2HmJ0WTJPMCKBfOE5RJvgHKXRsKwatdrJCftyVZS2Av0y9MPuGuSi/sqZj43Q9SHMtmD/710CrwC3cXAfOFH+mgeGbhQnw2jCnQw5BOF/NTs8W6bmyqeQmNQ/m7nsKXSaywrZctq9lTAL+WQxOtRk/hDktxrE6WoEkXWCT/Xdx1x3hvdV1onCNZt3DElLiVj09/NUWei8Ihd4COirASVga+fcZCvjWPLMOI5QwTzyYTTXiw5Hnf7B8YRfzgxgNyyQ2jYvmghRr9SXl3eRc0hDdfKamq7Els/+fBrTdmChSaFmQ52ZgQ36f5XPIOg+s+w/kcsNWJEeJ1SegjVDyU1LPIYFR6Jpn4I4irshjGaX8ySePurS6ogNcuuBGeiJ931X6e6YtjdAH8fcxVeABpQQpAztDcq6CcdarZUCdGV2bCFrKsZu2lkC9uaaeP8kODlUf7WyeMZvWrWsR3TCB7hdGHYkuc9TlOjEgn4MfVIeZ9HhAz7nKgt42TJ7ldFJt1kR0/SxaNUPTZaFiPaJ8LWKPdCgFUGBOS3XSQt73xguNwtkesU6al+Zj+hbb1iBKHgpZmfdwxeL1xeFCWwvgmv+x8+yadEjpDNUnWgVbUo2y1Mt71rrSdTOmAKZBpfO6kJSPi/OMJOCxuXP4xV2yOc3wpQ3WX3P6G1rZIZfQblx1vk+f0JCXxw= X-MS-TrafficTypeDiagnostic: DB6PR0101MB2230:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tnOVJDeAw9PY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Message-Id: 009dc258-23c3-4314-8d2f-08da1cba3666 X-MS-Exchange-CrossTenant-AuthSource: AS8PR01MB7944.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2022 19:25:33.0718 (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: DB6PR0101MB2230 Subject: [FFmpeg-devel] [PATCH 5/5] avcodec/mss12: Constify slice context->parent context pointer 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: Bqoy394ScabQ Signed-off-by: Andreas Rheinhardt --- libavcodec/mss12.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mss12.h b/libavcodec/mss12.h index 6f68fc3db6..27aa2d56b1 100644 --- a/libavcodec/mss12.h +++ b/libavcodec/mss12.h @@ -68,7 +68,7 @@ typedef struct PixContext { struct MSS12Context; typedef struct SliceContext { - struct MSS12Context *c; + const struct MSS12Context *c; Model intra_region, inter_region; Model pivot, edge_mode, split_mode; PixContext intra_pix_ctx, inter_pix_ctx;