[FFmpeg-devel] [PATCH] avcodec/rzpaenc: Remove set-but-unused variable
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Sat Aug 22 01:50:54 EEST 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/rpzaenc.c | 3 +--
1 file changed, 1 insertion(+), 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;
--
2.20.1
More information about the ffmpeg-devel
mailing list