Move if() in mjpeg decode_block() to simplify condition.
Originally committed as revision 25541 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1932182498
commit
76c80ef569
@ -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…
x
Reference in New Issue
Block a user