mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-03 22:50:36 +00: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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user