mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
get rid of an if() 1 cpu cycle faster.
Originally committed as revision 21889 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e69bfde6b2
commit
f4ce853125
@ -937,8 +937,7 @@ static int decode_cabac_mb_mvd( H264Context *h, int list, int n, int l ) {
|
||||
}
|
||||
}
|
||||
while( k-- ) {
|
||||
if( get_cabac_bypass( &h->cabac ) )
|
||||
mvd += 1 << k;
|
||||
mvd += get_cabac_bypass( &h->cabac )<<k;
|
||||
}
|
||||
}
|
||||
return get_cabac_bypass_sign( &h->cabac, -mvd );
|
||||
|
Loading…
Reference in New Issue
Block a user