aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rpzaenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-22 00:17:49 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-22 09:23:30 +0200
commit01a580f141627cfc8eae5de2300d2d93911887e3 (patch)
treefa6aacda4783f2822b40c7da5743078c0c98cdb0 /libavcodec/rpzaenc.c
parent3fc3d712a99cf39f69a2258b48cbc81fa8ae5471 (diff)
downloadffmpeg-01a580f141627cfc8eae5de2300d2d93911887e3.tar.gz
avcodec/rzpaenc: Remove set-but-unused variable
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/rpzaenc.c')
-rw-r--r--libavcodec/rpzaenc.c3
1 files changed, 1 insertions, 2 deletions
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;