diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-23 17:50:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-23 17:50:36 +0000 |
commit | 2d76bf391ac7aed0d02c93658fecb0ab2bc4e915 (patch) | |
tree | f2cde6dc8f434c9af91fc03ee962dfccd697b92e | |
parent | 8140955d39ecff922b7666261556b0c3aba6dd1e (diff) | |
download | ffmpeg-2d76bf391ac7aed0d02c93658fecb0ab2bc4e915.tar.gz |
Indent
Originally committed as revision 16292 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/h264.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 76bed662a3..ab206a2b6f 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -4177,14 +4177,14 @@ static int decode_residual(H264Context *h, GetBitContext *gb, DCTELEM *block, in 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; |