summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-15 15:23:26 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-15 15:31:58 +0100
commit5f7eb4240a05ba03bce1146c603c5cb890f7c842 (patch)
tree2781f2f87ba6fb55759164be4c74037f3c8f0ac4
parentc00cd007e842b522dc9fbd219e6d32fe9212465b (diff)
avcodec/tests/snowenc: Fix mixed declaration and code
Reviewed-by: Sean McGovern <gseanmcg@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/tests/snowenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tests/snowenc.c b/libavcodec/tests/snowenc.c
index 37198cd4e3..3dad07d3a5 100644
--- a/libavcodec/tests/snowenc.c
+++ b/libavcodec/tests/snowenc.c
@@ -35,9 +35,9 @@ int main(void){
SnowContext s;
int i;
AVLFG prng;
+ int ret = 0;
s.spatial_decomposition_count=6;
s.spatial_decomposition_type=1;
- int ret = 0;
s.temp_dwt_buffer = av_calloc(width, sizeof(*s.temp_dwt_buffer));
s.temp_idwt_buffer = av_calloc(width, sizeof(*s.temp_idwt_buffer));