From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 5D5454BEE7 for ; Fri, 29 Aug 2025 20:21:07 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'CN5u6eYkPe48HBkUj5VG6L8cdRzBf8RDXbftm5bDXJE=', expected b'SXX1QEIQF5S9MSaKlOdlc1nyCoyVjKka3Oo3bOHAmLU=')) header.d=protonmail.com header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1756498844; h=date : to : message-id : mime-version : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=DeEAZPyrDkgDk0erK5y4YmqzYbGQDWlrD7OHp7jGdTw=; b=tNHN7tSak0C3WSYAxhWlRaCE8lKrEOyeGR9D7mHUzvXksgTwDRHqe3nvSbg8F9wmC/32d lntJt3hRzdCT+NEbdjPLHTeDYSzSFTQNdlSVnMA/9pnaxzvC4dt8mKwvRj9qC62xFUX6gvm Cc/lYp3zn/TPGwutfUtLyHlxC+TKGlVIYHHwbKCBcPB9/V8eYFC4QgfRFa5lKqrAHr+vVcB WZ/FCOhStdNwYjMRtHFGR6O9HNeE/5z2dnW7/VIcJSaokA7Vo9SZLtQ1oOom0t43OMd5FQJ STa3URPX9TYSUQajMCzFYnWxZ4Bd+fiyoqoC+v+nnlCcF1dscnjfwlSAmqLA== Received: from [172.19.0.4] (unknown [172.19.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 5F3C06800B5; Fri, 29 Aug 2025 23:20:44 +0300 (EEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1756498839; b=onHjSK8Rt+mqBojtMxYXLd2hAeuhbzvivtAewZ2AZlMBWNFb9X/A4VOba5tvhScbjz2U8 kI/4CRGGbFrVBC0WaEFlcRZMH2Gxu0FtPvGKEKsxZyyBq3VKeRjZDplEbrchOLd4oaHHju2 XMhn1ilXJ+vC9GuTyUZjce1LoHf5geSP/I3PKyqxpBeInqK7AIX11/5F13tg1Yo97sjBW1+ tsgs09aoLb042uGUUXWJlpq+5pexGJEBzasVnlIskHmtS25ml7UXaCKWBNG/45qmqAC8I/f m7NEFDN/DsH2HUn8I1xX9Lj5JYz7Me0GtQD5T2emh2PxdHGK/G9nB8+F3Ncg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1756498839; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=CN5u6eYkPe48HBkUj5VG6L8cdRzBf8RDXbftm5bDXJE=; b=TG0QaOjukqhud6BDeeW7/vu66JT7P3/9kwt12cSW1bOA2N+yRwcc1MDVQ7sSXLkOC+qj9 OrvtPzdQXyMXP7MI3A9gICvASodX8m+lN6yLrvzFtFGHPcIwPWATjqZsmagcFNa5+8R/SQU NunU+lYlMXjnDE7qT04kYIbFyphhul95R/SlFi5IykURthX78fELV1CFLZiRusthfp/rb5h ty2yV7TjtqfNpK5nDeOo2sTq3ukW6qTpOOB1SMeKZJCdHnyxZE3gv5JX1rWrtHHepaCGuSd /5JFx9uZfq/D5PRC9MFJ+DlWaPcEVWt/UuFwl+vmql96fVGhz5Kqc8sbmf7g== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=protonmail.com; arc=none; dmarc=pass header.from=protonmail.com policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=protonmail.com; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=protonmail.com policy.dmarc=quarantine Received: from mail-24429.protonmail.ch (mail-24429.protonmail.ch [109.224.244.29]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 4746D68E79D for ; Fri, 29 Aug 2025 23:20:00 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1756498799; x=1756757999; bh=SXX1QEIQF5S9MSaKlOdlc1nyCoyVjKka3Oo3bOHAmLU=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=CBsTPZFrQaCQEq174gQO9bEpbE+GEdqfqJseSak2JTHl2R8Rh5i+3ncMTnSoz7pZz 0bwZeSSPq57asrjXEbiRDO85uavOyglbDw1BOM6A6DW/OHDr0YLHLXj2ViQn7vGc59 oQZv+zBdjYs3tt+MpP+tpEK/1pLay2wD70q60GeEr/Ocme05TK1JqTeQT+UUHlqgPf fZJrJqBlkWl5C+p9RdVIw015mA1pXWcEWBgFJMSoYlIXJIRMz49whDnW2VUEv1k0LC bWkpUdhV4g78VYN01Z0cN1Z/oWkJF20/6vrUfrZStatlg0cGNEWgbnwSD55pSPoKMU nakmfH76tcK8w== Date: Fri, 29 Aug 2025 20:19:53 +0000 To: FFmpeg development discussions and patches Message-ID: <8eG59yBHbAH6xN0au7UsUj5G5Ge-0EPjbkGRBnToosWITBAlZKpfg19bz0s2-uLnmeOtH7LCjKEJsyxcl1TPAAw48N-Ol-TZrqae40Mlxis=@protonmail.com> Feedback-ID: 28710920:user:proton X-Pm-Message-ID: 757b99b2242f2a70c4a697efa0106ec1f97cbddb MIME-Version: 1.0 Message-ID-Hash: C3TYOCKWGLPJ4PJKF2HXWKDSTG3IA4CV X-Message-ID-Hash: C3TYOCKWGLPJ4PJKF2HXWKDSTG3IA4CV X-MailFrom: SRS0=77Jk=3J=protonmail.com=zsolt_vadasz@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH 2/2] libavfilter/vf_minterpolate: Use local variable in array List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: =?utf-8?q?Zsolt_Vad=C3=A1sz_via_ffmpeg-devel?= Cc: =?utf-8?Q?Zsolt_Vad=C3=A1sz?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: Signed-off-by: Zsolt Vadasz --- libavfilter/vf_minterpolate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index 2406259056..ba5c512e03 100644 --- a/libavfilter/vf_minterpolate.c +++ b/libavfilter/vf_minterpolate.c @@ -918,9 +918,9 @@ static void set_frame_data(MIContext *mi_ctx, int alpha, AVFrame *avf_out) int x_mv, y_mv; int weight_sum = 0; int i, val = 0; - PixelMVS *pixel_mvs = &mi_ctx->pixel_mvs[x + y * avf_out->width]; - PixelWeights *pixel_weights = &mi_ctx->pixel_weights[x + y * avf_out->width]; - PixelRefs *pixel_refs = &mi_ctx->pixel_refs[x + y * avf_out->width]; + PixelMVS *pixel_mvs = &mi_ctx->pixel_mvs[x + y * width]; + PixelWeights *pixel_weights = &mi_ctx->pixel_weights[x + y * width]; + PixelRefs *pixel_refs = &mi_ctx->pixel_refs[x + y * width]; for (i = 0; i < pixel_refs->nb; i++) weight_sum += pixel_weights->weights[i]; -- 2.51.0 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org