mirror of https://git.ffmpeg.org/ffmpeg.git
remove useless code
Originally committed as revision 5256 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
002a7414b5
commit
ad8812be8f
|
@ -1259,7 +1259,6 @@ static int decode_block(MJpegDecodeContext *s, DCTELEM *block,
|
||||||
int component, int dc_index, int ac_index, int16_t *quant_matrix)
|
int component, int dc_index, int ac_index, int16_t *quant_matrix)
|
||||||
{
|
{
|
||||||
int code, i, j, level, val;
|
int code, i, j, level, val;
|
||||||
VLC *ac_vlc;
|
|
||||||
|
|
||||||
/* DC coef */
|
/* DC coef */
|
||||||
val = mjpeg_decode_dc(s, dc_index);
|
val = mjpeg_decode_dc(s, dc_index);
|
||||||
|
@ -1271,7 +1270,6 @@ static int decode_block(MJpegDecodeContext *s, DCTELEM *block,
|
||||||
s->last_dc[component] = val;
|
s->last_dc[component] = val;
|
||||||
block[0] = val;
|
block[0] = val;
|
||||||
/* AC coefs */
|
/* AC coefs */
|
||||||
ac_vlc = &s->vlcs[1][ac_index];
|
|
||||||
i = 0;
|
i = 0;
|
||||||
{OPEN_READER(re, &s->gb)
|
{OPEN_READER(re, &s->gb)
|
||||||
for(;;) {
|
for(;;) {
|
||||||
|
|
Loading…
Reference in New Issue