changeset 3232:b9f906a0b0f8 libavcodec

fix gcc 2.95 compilation
author michael
date Wed, 29 Mar 2006 21:11:57 +0000
parents 037570194464
children 18af2f7788c6
files mjpeg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mjpeg.c	Wed Mar 29 18:42:50 2006 +0000
+++ b/mjpeg.c	Wed Mar 29 21:11:57 2006 +0000
@@ -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;
 }