Message ID | 20200821225054.12230-1-andreas.rheinhardt@gmail.com |
---|---|
State | Accepted |
Commit | 01a580f141627cfc8eae5de2300d2d93911887e3 |
Headers | show |
Series | [FFmpeg-devel] avcodec/rzpaenc: Remove set-but-unused variable | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
On 8/22/20, Andreas Rheinhardt <andreas.rheinhardt@gmail.com> wrote: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> > --- > libavcodec/rpzaenc.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > lgtm
diff --git a/libavcodec/rpzaenc.c b/libavcodec/rpzaenc.c index 2d3876743f..baf067c205 100644 --- a/libavcodec/rpzaenc.c +++ b/libavcodec/rpzaenc.c @@ -643,8 +643,7 @@ post_skip : if (update_block_stats(s, &bi, &src_pixels[block_offset], min_color, max_color, total_rgb, &pixel_count, avg_color, 1)) { - int first_block_offset; - first_block_offset = prev_block_offset = block_offset; + prev_block_offset = block_offset; n_blocks = 1;
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> --- libavcodec/rpzaenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)