[FFmpeg-cvslog] avcodec/tests/snowenc: Fix mixed declaration and code

Andreas Rheinhardt git at videolan.org
Fri Mar 15 16:32:31 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Mar 15 15:23:26 2024 +0100| [5f7eb4240a05ba03bce1146c603c5cb890f7c842] | committer: Andreas Rheinhardt

avcodec/tests/snowenc: Fix mixed declaration and code

Reviewed-by: Sean McGovern <gseanmcg at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5f7eb4240a05ba03bce1146c603c5cb890f7c842
---

 libavcodec/tests/snowenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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));



More information about the ffmpeg-cvslog mailing list