Skip to content
Snippets Groups Projects
Commit 60f3c0b8 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

fix gcc 2.95 compilation

Originally committed as revision 5243 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 085065f0
No related branches found
No related tags found
No related merge requests found
...@@ -1273,7 +1273,7 @@ static int decode_block(MJpegDecodeContext *s, DCTELEM *block, ...@@ -1273,7 +1273,7 @@ static int decode_block(MJpegDecodeContext *s, DCTELEM *block,
/* AC coefs */ /* AC coefs */
ac_vlc = &s->vlcs[1][ac_index]; ac_vlc = &s->vlcs[1][ac_index];
i = 0; i = 0;
OPEN_READER(re, &s->gb) {OPEN_READER(re, &s->gb)
for(;;) { for(;;) {
UPDATE_CACHE(re, &s->gb); UPDATE_CACHE(re, &s->gb);
GET_VLC(code, re, &s->gb, s->vlcs[1][ac_index].table, 9, 2) 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, ...@@ -1310,7 +1310,7 @@ static int decode_block(MJpegDecodeContext *s, DCTELEM *block,
block[j] = level * quant_matrix[j]; block[j] = level * quant_matrix[j];
} }
} }
CLOSE_READER(re, &s->gb) CLOSE_READER(re, &s->gb)}
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment