Move declaration of prn before any assignment.
authorBenoit Fouet <benoit.fouet@free.fr>
Tue, 31 Mar 2009 07:37:55 +0000 (07:37 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Tue, 31 Mar 2009 07:37:55 +0000 (07:37 +0000)
Originally committed as revision 18255 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/snow.c

index 42cec6b..ca85ad6 100644 (file)
@@ -4698,9 +4698,9 @@ int main(void){
     int buffer[2][width*height];
     SnowContext s;
     int i;
+    AVLFG prn;
     s.spatial_decomposition_count=6;
     s.spatial_decomposition_type=1;
-    AVLFG prn;
 
     av_lfg_init(&prn, 1);