Commit 4fd53202 authored by michael's avatar michael

Simplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster on

pentium dual.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16279 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9cbe27ea
......@@ -4991,10 +4991,7 @@ static int decode_cabac_mb_ref( H264Context *h, int list, int n ) {
while( get_cabac( &h->cabac, &h->cabac_state[54+ctx] ) ) {
ref++;
if( ctx < 4 )
ctx = 4;
else
ctx = 5;
ctx = (ctx>>2)+4;
if(ref >= 32 /*h->ref_list[list]*/){
return -1;
}
......
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