]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/cfhd: Remove unused-but-set variable
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 21 Aug 2020 09:44:16 +0000 (11:44 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 27 Aug 2020 22:43:28 +0000 (00:43 +0200)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/cfhd.c

index 291d53e02e782b1946bbf59c63bab29beef9d350..e381a17606d5c88201a3febe030b904b4176f2b9 100644 (file)
@@ -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];