[FFmpeg-cvslog] avcodec/rzpaenc: Remove set-but-unused variable
Andreas Rheinhardt
git at videolan.org
Sat Aug 22 10:32:23 EEST 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Sat Aug 22 00:17:49 2020 +0200| [01a580f141627cfc8eae5de2300d2d93911887e3] | committer: Andreas Rheinhardt
avcodec/rzpaenc: Remove set-but-unused variable
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=01a580f141627cfc8eae5de2300d2d93911887e3
---
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;
More information about the ffmpeg-cvslog
mailing list