Commit 9e6c3bdc authored by michael's avatar michael

slightly faster decode_cabac_mb_mvd()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6735 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e14f2b65
......@@ -6003,8 +6003,7 @@ static int decode_cabac_mb_mvd( H264Context *h, int list, int n, int l ) {
mvd += 1 << k;
}
}
if( get_cabac_bypass( &h->cabac ) ) return -mvd;
else return mvd;
return get_cabac_bypass_sign( &h->cabac, -mvd );
}
static int inline get_cabac_cbf_ctx( H264Context *h, int cat, int idx ) {
......
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