diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-15 15:23:26 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-15 15:31:58 +0100 |
commit | 5f7eb4240a05ba03bce1146c603c5cb890f7c842 (patch) | |
tree | 2781f2f87ba6fb55759164be4c74037f3c8f0ac4 | |
parent | c00cd007e842b522dc9fbd219e6d32fe9212465b (diff) | |
download | ffmpeg-5f7eb4240a05ba03bce1146c603c5cb890f7c842.tar.gz |
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.c | 2 |
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)); |