summaryrefslogtreecommitdiff
path: root/libavcodec/cfhd.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-21 11:44:16 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-28 00:43:28 +0200
commit5c923ce668e5db0009a5db7d1d17c2554f360332 (patch)
treeca2abbeb340602ed3dd8e1392bc0e685f206f1b9 /libavcodec/cfhd.c
parentf7deae72154ed18b63146fb6c362267565d1e6cd (diff)
avcodec/cfhd: Remove unused-but-set variable
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/cfhd.c')
-rw-r--r--libavcodec/cfhd.c3
1 files changed, 1 insertions, 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];