From patchwork Wed Aug 26 22:07:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 21937 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 40C0F44AF24 for ; Thu, 27 Aug 2020 01:37:57 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1C5F66883C9; Thu, 27 Aug 2020 01:37:57 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BD231680955 for ; Thu, 27 Aug 2020 01:37:50 +0300 (EEST) Received: by mail-wr1-f65.google.com with SMTP id f7so3505877wrw.1 for ; Wed, 26 Aug 2020 15:37:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8jBnqxDUpszE+J5vylLPoepmlTzwkC1E82atG6cJPHo=; b=l09lilYszRftcbNRAEyIM/6lwCRXdoEEG6bmmJW5Xk9wAnZg7K/grTsj8PKXKSYH0y +jJHwVsHcP8LWpzetRylwnnkkiTBQvUh1SG/OyV9UAvubKJPEg4dnctQGgAX0V+rplaX kcSuAb3h6vJB5UoKKFhFVXvWv3bVEXLhq8VCHyDtIscUR7ZYCg/mOT9eAvRHJszrm/eF XwU/7om/IxTPAdow4vxiVQhyfjqsXPtJdMMlUudKx2fOjwGI8wllyDrtlMSF5ZCTx8UL vszx+dyIZE95QOiD5n3YZu9Ohh9zlT6Zgc6oqupeif6xCaJ92geKuujm6a09IHkkHLVt mYhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8jBnqxDUpszE+J5vylLPoepmlTzwkC1E82atG6cJPHo=; b=sRN/JazcsYgUlVdjx++/sJvQTl84hS9SiOS4F/Bf34VDbK5fsWIRYWDUBBd38I6zTY dw6JxZfavmZ77ZN2oatNLjRtSBEq4d/5lN3jw6D9wrnfhJ0N55vOMGZe3H4IDXdRqKk0 cYK31T30Gt9KW82YmYi2QXMOqL2zJ9kK0H9OX5GL2jk4ygIIUbp7VLhwCTIMgGiaxQkg SAxIEG0+w2GoCLgdnMEbm5EHnvq6laiXI8GNgcioKdVU1iH4f8gc22Zz6NB6G/J7pKqo jx21duChChQa5KXGNk72PHJ3mrkHC60GXwm5SDM1MWeBYNWdWJZ58R4mS4yVdFbcusph viDw== X-Gm-Message-State: AOAM5331xf0NoUJUFOYwT6sVU1+GwqMeMEGmyUuomImp00NxdWLmtEa7 QGDmQLqbHz3JbHNdJQTLMtO0MPuVNgA= X-Google-Smtp-Source: ABdhPJwXlM7pIIP6svKOfKMKbFWVgACmwLkRFKq/6PtRrUmO056KVcShEZu02jyhk2sYBMiLtFdM3g== X-Received: by 2002:adf:f847:: with SMTP id d7mr16425010wrq.328.1598479666867; Wed, 26 Aug 2020 15:07:46 -0700 (PDT) Received: from sblaptop.fritz.box (ipbcc1fb0f.dynamic.kabel-deutschland.de. [188.193.251.15]) by smtp.gmail.com with ESMTPSA id n5sm505789wme.9.2020.08.26.15.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 15:07:46 -0700 (PDT) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 27 Aug 2020 00:07:34 +0200 Message-Id: <20200826220734.20797-1-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2] avcodec/cfhd: Remove unused-but-set variable X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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" Signed-off-by: Andreas Rheinhardt --- V2 because of 389cc142fb00c23ac1a8d2ba95a9db5d8be473cd. libavcodec/cfhd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 291d53e02e..e381a17606 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -1256,7 +1256,7 @@ finish: if (s->transform_type == 2 && s->sample_type == 1) { int16_t *low, *high, *dst; - int output_stride, lowpass_height, lowpass_width, highpass_stride; + int output_stride, lowpass_height, lowpass_width; ptrdiff_t dst_linesize; for (plane = 0; plane < s->planes; plane++) { @@ -1272,7 +1272,6 @@ finish: lowpass_height = s->plane[plane].band[4][1].height; output_stride = s->plane[plane].band[4][1].a_width; lowpass_width = s->plane[plane].band[4][1].width; - highpass_stride = s->plane[plane].band[4][1].stride; if (s->progressive) { dst = (int16_t *)pic->data[act_plane];