diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-03-29 21:11:57 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-03-29 21:11:57 +0000 |
commit | 60f3c0b8fcab44c76984ba0e06c4e207041be939 (patch) | |
tree | aac68170176e320b20874148138436dcef96a6b0 /libavcodec/mjpeg.c | |
parent | 085065f0fd6c21b31647a4e937806feaeb30e75f (diff) | |
download | ffmpeg-60f3c0b8fcab44c76984ba0e06c4e207041be939.tar.gz |
fix gcc 2.95 compilation
Originally committed as revision 5243 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpeg.c')
-rw-r--r-- | libavcodec/mjpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index 0f2a4e7196..7a86482874 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -1273,7 +1273,7 @@ static int decode_block(MJpegDecodeContext *s, DCTELEM *block, /* 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 @@ static int decode_block(MJpegDecodeContext *s, DCTELEM *block, block[j] = level * quant_matrix[j]; } } - CLOSE_READER(re, &s->gb) + CLOSE_READER(re, &s->gb)} return 0; } |