[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mjpeg.c,1.126,1.127

Michael Niedermayer CVS michael
Wed Mar 29 23:11:59 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv29955

Modified Files:
	mjpeg.c 
Log Message:
fix gcc 2.95 compilation


Index: mjpeg.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mjpeg.c,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- mjpeg.c	29 Mar 2006 09:20:44 -0000	1.126
+++ mjpeg.c	29 Mar 2006 21:11:57 -0000	1.127
@@ -1273,7 +1273,7 @@
     /* AC coefs */
     ac_vlc = &s->vlcs[1][ac_index];
     i = 0;
-    OPEN_READER(re, &s->gb)
+    {OPEN_READER(re, &s->gb)
     for(;;) {
         UPDATE_CACHE(re, &s->gb);
         GET_VLC(code, re, &s->gb, s->vlcs[1][ac_index].table, 9, 2)
@@ -1310,7 +1310,7 @@
             block[j] = level * quant_matrix[j];
         }
     }
-    CLOSE_READER(re, &s->gb)
+    CLOSE_READER(re, &s->gb)}
 
     return 0;
 }





More information about the ffmpeg-cvslog mailing list