Commit b2ad5422 authored by michael's avatar michael

get rid of an if() 1 cpu cycle faster.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21889 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0f798491
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment