From patchwork Thu Jul 4 14:31:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Haas X-Patchwork-Id: 50335 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:cc64:0:b0:482:c625:d099 with SMTP id k4csp3759209vqv; Thu, 4 Jul 2024 07:39:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW/Ixznh0U9TcJTPXVt5pXQkNfUzkkIZCq6QthO2Xep3XAqU0ytOtuUVSrv5YFcmkj8LI9szvE95rD3ZQ3bPv523AZrFGyjyDXtTA== X-Google-Smtp-Source: AGHT+IHbLHf/muvDaKcKYD/sqhL4koKt6OHhtEEu3rFoAwH9aeJ4vFRUVHbA9ZpSGcSdY44PtIq0 X-Received: by 2002:a2e:9c8a:0:b0:2ee:80b2:1ea9 with SMTP id 38308e7fff4ca-2ee8ee21297mr14529471fa.49.1720103949665; Thu, 04 Jul 2024 07:39:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720103949; cv=none; d=google.com; s=arc-20160816; b=fAGQrrmw/mwv8QGLPyQv0LMbd6XjoYdBQJ38ASQcqWsfP6W/SJsEOAGfwvvwDR6DXZ qMNfEYIUy6apaFDllaGgyOM11WC9BdczUNf2YRGmfJ+5cVqIW4gykbMedHHD6xRAwIFr ba0y+mAQQ6i3XprIJJU7WH2bhpjKeLhtHTqwXCxV4a0YmYlALJPVEPFcMAZ28+xEZEJv kKrlyelxhbi4e8xv/f6GSaNP2v/0XvxUVEtsJd36OSuzN9fn+WvYs0p75LcwpYmSubNu RCsVnIUZoC2Ie3sbuWaHnJES1cttUSVjGZo+Vf+ekuG3ptsU2NU0jpuLvZnb2XBxzkKl dI4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=y0fY/Zv8nZCm8JrS6DIWPUPEcPO8CWHfOq5GOdMb0mU=; fh=xmAeKtysnShNOmkhiJmYkS30uw4Fu2hvBJ7qlIwukxQ=; b=GcmVlbli08DhGaxr/m6uZmVLmCrC7IALtSgWqwZ6++9RTZkMCMPKpESm9VuOh7dTDl p58vD5dGR5h/OnibpBVv0Tmu3jVHoRaHFAHM/9c2sQMEdUxKg8KlLOxckO2DAxgVZl7O mScFeBEFzfA+jeGUghFlOZGOv+/4gSKQznQ70PQM/Sn4KY3qlGc97/alR/V9wb/fTf34 JePaDwFVryyysz6Kt2pRZPeaw8u2wVars9Tvb1+ewo0gBzL0u/yajSc1Mhrt1Q3dbZmI M1gLjwms2pes2Fgtmopn7GJl4myoNsSGbE+KCi0PV75BoHI8YebcDIncWfSh3cd6ix4u Gi+Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@haasn.xyz header.s=mail header.b=SIbu10GE; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 38308e7fff4ca-2ee8a631916si6545441fa.442.2024.07.04.07.39.09; Thu, 04 Jul 2024 07:39:09 -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=@haasn.xyz header.s=mail header.b=SIbu10GE; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BA5D768DA2F; Thu, 4 Jul 2024 17:31:25 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 65EAE68D9FE for ; Thu, 4 Jul 2024 17:31:12 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=haasn.xyz; s=mail; t=1720103468; bh=Ui+PxSpuFmRVqsLKEUrqqYrkFhws7zLSe4VSXZBhMis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SIbu10GEdOmPMAVi6x09sD5ptrCWBRW8SD4LcYiC/83mst0CMTvW6qlmaD+X75cUb xuHcYhMVMsC6d1lQpzEpcwShWxLolKcWX01O1zgkDX0FYHJeaQ3VHCGsFV2HCF17Nr JbBbFHaqQJlduqLJmwx3OMGFx/2J/ACGeigXL2w8= Received: from haasn.dev (unknown [10.30.0.2]) by haasn.dev (Postfix) with ESMTP id 3156342026; Thu, 4 Jul 2024 16:31:08 +0200 (CEST) From: Niklas Haas To: ffmpeg-devel@ffmpeg.org Date: Thu, 4 Jul 2024 16:31:03 +0200 Message-ID: <20240704143104.1821386-7-ffmpeg@haasn.xyz> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240704143104.1821386-1-ffmpeg@haasn.xyz> References: <20240704143104.1821386-1-ffmpeg@haasn.xyz> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 7/8] avfilter/vf_zscale: remove unused fields 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: Niklas Haas Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: fYclOkTIDQ2C From: Niklas Haas --- libavfilter/vf_zscale.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index 45f1bd25ce..dd0d1b7f46 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -108,11 +108,6 @@ typedef struct ZScaleContext { char *w_expr; ///< width expression string char *h_expr; ///< height expression string - int out_h_chr_pos; - int out_v_chr_pos; - int in_h_chr_pos; - int in_v_chr_pos; - int first_time; int force_original_aspect_ratio;