From 33fe3b73c2d4dec674509de5dc48698895f0806b Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 28 Jun 2022 12:55:45 +0200 Subject: avcodec/tests/snowenc: Remove unused-but-set variable Signed-off-by: Andreas Rheinhardt --- libavcodec/tests/snowenc.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libavcodec/tests/snowenc.c b/libavcodec/tests/snowenc.c index 07af1f2cf9..e423ab0541 100644 --- a/libavcodec/tests/snowenc.c +++ b/libavcodec/tests/snowenc.c @@ -114,16 +114,6 @@ int main(void){ } printf("};\n"); { - int level=2; - int w= width >> (s.spatial_decomposition_count-level); - //int h= height >> (s.spatial_decomposition_count-level); - int stride= width << (s.spatial_decomposition_count-level); - DWTELEM *buf= buffer[0]; - int64_t error=0; - - buf+=w; - buf+=stride>>1; - memset(buffer[0], 0, sizeof(int)*width*height); for(y=0; y