Indent
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Dec 2008 17:50:36 +0000 (17:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Dec 2008 17:50:36 +0000 (17:50 +0000)
Originally committed as revision 16292 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 76bed66..ab206a2 100644 (file)
@@ -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;