Message ID | 20200826220734.20797-1-andreas.rheinhardt@gmail.com |
---|---|
State | Accepted |
Commit | 5c923ce668e5db0009a5db7d1d17c2554f360332 |
Headers | show |
Series | [FFmpeg-devel,v2] avcodec/cfhd: Remove unused-but-set variable | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
On 8/27/20, Andreas Rheinhardt <andreas.rheinhardt@gmail.com> wrote: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> > --- > V2 because of 389cc142fb00c23ac1a8d2ba95a9db5d8be473cd. > > libavcodec/cfhd.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > LGTM
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];
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> --- V2 because of 389cc142fb00c23ac1a8d2ba95a9db5d8be473cd. libavcodec/cfhd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)