Message ID | GV1P250MB0737C6106A6248A142FA83D68F549@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 73f104201b2c4c63f71c65bd11880c87bcb17a8a |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp358023pzh; Wed, 28 Sep 2022 09:36:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48UM9StvLPTeBs2Rk2S+5qoBS7h57vrzXlVovvW0+Ggx4dSFZEx+SyOCYBcbMJsTMh2Dt8 X-Received: by 2002:a17:907:d15:b0:781:e347:723 with SMTP id gn21-20020a1709070d1500b00781e3470723mr27693492ejc.723.1664382982772; Wed, 28 Sep 2022 09:36:22 -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 g4-20020a170906c18400b00741a0c28f07si4740112ejz.943.2022.09.28.09.36.22; Wed, 28 Sep 2022 09:36:22 -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=DCoPt04C; 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 A771F68BBCB; Wed, 28 Sep 2022 19:36:20 +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-db8eur05olkn2071.outbound.protection.outlook.com [40.92.89.71]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E666468BBB5 for <ffmpeg-devel@ffmpeg.org>; Wed, 28 Sep 2022 19:36:13 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h+UZC3jX6Vnh5R97chXtRhFJDqs4zHn+weDcbDJuQDa2wxr9MgjCY7X4XvFyz98IWV8BEBYihuli2ayEzQ2WPvT+4DIqtl7nBICCA5ATaDSjQcnWO1XTt/huef22xyDcdfrZ8dycEdUhzKWOUBBXoMQEdBMZ1LhFeqICxBOW/gYmYUULVu3AOhCoPVJNgtKZsp0zGdPrEz2kDSsjosP80/1dUL7jix77XtpXo/XF8QTDE1snrS/U4w5Zk+4mwLMJSV25PTBLi26Bsxj/T5bwAQBZ/WaOCUF2cjnisjuDd218TrgUFqFmBr2S5S5MS3KoEPP7hYRxz+HUt/zEc9jmQQ== 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=w+AgXtMrQUFzGQM3lhV8VnOqve/sTlvO2mpjF5ZJ4Xc=; b=ltNqBdbeZpmF6zfuK1928nqhbkX9dTas4EAxv6JEUTTN+caRQAwzlZByNbMUgB8PqS6XrwVK5ltk03kHVXZXh9dSnc5Js7Ti5j3jFOQimTWgm2l6ONU73qb+NaLe7795U8YaKC11GjuuBpA773Li0Zq7FyVKt9jsENwSU78ssccstD2Tw8wxQs5AyBXl1RWhBX1t1fhrk7q2zG/8FeWZ8tJXGxTOwzdIQZxCgAXEI/4SvUnaV6QXB7RVBv7v85pVGZxTYlBlSDBvLq0uo+JlMEXi7b1cPordWHEnhQfGAd1rVDLUFLBs/fQrcPw+QBRbpTesAzkMHab40+OD8cb6tw== 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=w+AgXtMrQUFzGQM3lhV8VnOqve/sTlvO2mpjF5ZJ4Xc=; b=DCoPt04CMrDRTNznwy9nHnB5ZAHxSAJ55AtSjC0EHl4XmDuiax8ICSi9YqCFZGAi66cZnGTaEzpklw5blX6A+ghfVLtCsNstEsordWwXxt/fq3p/nk75acEn+DIM/7XUVVdVFopEZmrNuMBKZDeV4+4dfja2x4m46z0eMb17M4SDAQvEfNmLywkOPgISPIaZT3NhWxk65mlLZ5kyMTRLXu9etcm5gBIPPfZhTrjlTBTMpTQod25N6FcQoNQbvfiRci6AESFEBL+UHOaie101QQo2GgvRUG2qXLUG0CyFF4qgRTXxw1qqxW9Hr2+rmzNJClZg0DqtiXIvj8uPi5ux6g== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by AS8P250MB0006.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:359::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.15; Wed, 28 Sep 2022 16:36:12 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8%9]) with mapi id 15.20.5654.025; Wed, 28 Sep 2022 16:36:12 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Wed, 28 Sep 2022 18:35:48 +0200 Message-ID: <GV1P250MB0737C6106A6248A142FA83D68F549@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 In-Reply-To: <GV1P250MB073794032AB549EE757CCB2F8F549@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> References: <GV1P250MB073794032AB549EE757CCB2F8F549@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> X-TMN: [fXeSkFa/yhVqksPxOuoyFWVKbdLW4aDAAGoXEsjxtHM=] X-ClientProxiedBy: ZRAP278CA0009.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:10::19) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20220928163550.916073-2-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|AS8P250MB0006:EE_ X-MS-Office365-Filtering-Correlation-Id: 5eac3495-aedf-4374-768e-08daa16f8df8 X-MS-Exchange-SLBlob-MailProps: EgT5Wr3QDKyaZg3Nqsb2Hykb5+EITt3rYuqsTnuF7+HLdb0O9ABzIkksyLhKyekKopkprWa6XP0ExEJOo4OPw8tD2YUU0rZUEMIRg7bLlklGZWLLv//I8GgqF/YzTqRBKt+1FZZFQreiI5RCU6M0ZCCX8OtTkKD/ECzA2v/dwlfuzDF3axVBJxa+RMMfi5toHSscKuFipwiWfgqPOcj4vV4df/67Hd/5YMo1SGjbagEvCnVpkCtQuMWh4CElDiWTcfD4PrLmGItFuH12jd2WtMkeaKvNrvKGOhLgb6zmpjHhoFBOpFsDSF57rO5mC0KrUn5s8D1h9ZM83UrCIBvalrIhx4N2oofNdcCu1iH4phtr+eMNjtBYFjeitRilkqewx0zbvSGZUTRwfagTDL0gFAU33wsb4aMXyOPKiNn3h7YeA6JHmtc6IQXKpIv9TEE6LRPfYgYcIEqNM7Bf3njIlxbhfT4AuMzMHFSKhJis37KJkFGf4jmnmwJ4sMlDlp69K8eRK7DNpn964CmSshDTO1AwhvOiW5UNTgrI4xLS8Odsg0KX00vNX7yJeIffUWeOZa4YDmuUXl82sAdzAgP2IW+u21qz04rlQmQ0ZdlW39gkDm6GvRTwTIPrC+z8cyWyYthE82TZIQpZaySwtBPfKK9e9h7zAQGe0xgO479SrPlZWUEDEI1VetQaJTdUlT6KtwV5KDqE6RTzT/KXUDYih94SpQtCiTbnS51+iSa+wVo= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7dU2vsRJhz0YxoVmaYyrln1sdn1lGZOKSfnSV5cpOhtbIeyJtw1GEj1+aXc5y8I9FLO2/y+yXmcrGVaR4fu5IHZUrdBuLmwYrJ0thsPLisyALzyoazSlxW/UyNq1kZkFrvAYN89LnfE4ksH27l7GNCNl8GlsNF6Fo5mKtRMWTvsXMWFJTsqIZKNO4UyJe0Zak9egPyTo17jSjgXcvrmiEdA2AG44251YzhOQZU5pkyHYP29YZwT2xMUyxFPXYdTOAHQMnhGbF4MCCWPs2kzTT5mQAnZoQb1jZDTWrJpKkfMyyLTw0J0kL9QcelnEB3MF1m0YZ1TqmhxKRhxVoH2aqphZQLijZBNphtk7sRCVyBpA5U1xpulwmzpmXFm+Go3qiRptT+d6YAlV1SYV+gEJIZpMn642ySpaixyCj4n8+9dDD4X6n3ZMHSFftZqWimNsXMaLlSJWofED1O321a+m9U5h6iNK9WJQg7ZZok6WNq5lgWBXt0IX9kFQJc329c59vMHFGAKDoFjsjeCoamSCzety9wX1w3Nqp3YyuO7UOacLzB+2KdJzS2KY2mQGiV8iHXdp4BmjIFOhTYUhxbN26edqs/1CWgYDynFYOQ+3Ge8aRBpU8ygFKXHrw+kedUeHwd3nWO0/WnAXWv4w2bNECw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NvPoChkdMVznUcp/cf/X+wfTv0xUNMgUxJD5G0pw0TBla+qBYH2RixEHE0T1djFtxrVetByZZEO60T/QoiRTgMdKp5v19ZbQViryQR7CbttPjS+9prkm6OgfHuy3OyhGOCMb3T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qI2hP5vGXIGJoBOwa6QJnlldaEmAXJvWHZQmSCFIYF72qG2h+tY5C+0mFfTzDJa15xCnVpIoqoAYl0JERCBr1IzSZpWx4uryk0r17LmbgKBo21nTDvbJLRH3mhE0Ry7vI3puc X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5eac3495-aedf-4374-768e-08daa16f8df8 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2022 16:36:12.4002 (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: AS8P250MB0006 Subject: [FFmpeg-devel] [PATCH 3/5] avcodec/rl2: Use ptrdiff_t for stride 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: oAzrLrbZobPo |
Series |
[FFmpeg-devel,1/5] avcodec/rl2: Remove wrong check
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | fail | Make fate failed |
diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c index 467c4913a4..76982f0426 100644 --- a/libavcodec/rl2.c +++ b/libavcodec/rl2.c @@ -57,11 +57,11 @@ typedef struct Rl2Context { * @param video_base offset of the rle data inside the frame */ static void rl2_rle_decode(Rl2Context *s, const uint8_t *in, int size, - uint8_t *out, int stride, int video_base) + uint8_t *out, ptrdiff_t stride, int video_base) { int base_x = video_base % s->avctx->width; int base_y = video_base / s->avctx->width; - int stride_adj = stride - s->avctx->width; + ptrdiff_t stride_adj = stride - s->avctx->width; int i; const uint8_t *back_frame = s->back_frame; const uint8_t *in_end = in + size;
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/rl2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)