Move if() in mjpeg decode_block() to simplify condition.

Originally committed as revision 25541 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Michael Niedermayer 14 years ago
parent 1932182498
commit 76c80ef569
  1. 2
      libavcodec/mjpegdec.c

@ -412,8 +412,8 @@ static int decode_block(MJpegDecodeContext *s, DCTELEM *block,
if (code == 0x10)
break;
i += ((unsigned)code) >> 4;
if(code != 0x100){
code &= 0xf;
if(code){
if(code > MIN_CACHE_BITS - 16){
UPDATE_CACHE(re, &s->gb)
}

Loading…
Cancel
Save