Mercurial > libavcodec.hg
changeset 8444:4fdaffd1ae1c libavcodec
Indent
author | michael |
---|---|
date | Tue, 23 Dec 2008 17:50:36 +0000 |
parents | cf81cdbf8ca9 |
children | 8621deaff8dc |
files | h264.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.c Tue Dec 23 17:49:38 2008 +0000 +++ b/h264.c Tue Dec 23 17:50:36 2008 +0000 @@ -4177,14 +4177,14 @@ if(prefix == LEVEL_TAB_BITS){ prefix += get_level_prefix(gb); } - if(prefix<15){ - level_code = (prefix<<suffix_length) + get_bits(gb, suffix_length); - }else{ - level_code = (15<<suffix_length) + get_bits(gb, prefix-3); - if(prefix>=16) - level_code += (1<<(prefix-3))-4096; - } - mask= -(level_code&1); + if(prefix<15){ + level_code = (prefix<<suffix_length) + get_bits(gb, suffix_length); + }else{ + level_code = (15<<suffix_length) + get_bits(gb, prefix-3); + if(prefix>=16) + level_code += (1<<(prefix-3))-4096; + } + mask= -(level_code&1); level_code= (((2+level_code)>>1) ^ mask) - mask; } level[i]= level_code;