[FFmpeg-cvslog] r16292 - trunk/libavcodec/h264.c

michael subversion
Tue Dec 23 18:50:36 CET 2008


Author: michael
Date: Tue Dec 23 18:50:36 2008
New Revision: 16292

Log:
Indent

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Tue Dec 23 18:49:38 2008	(r16291)
+++ trunk/libavcodec/h264.c	Tue Dec 23 18:50:36 2008	(r16292)
@@ -4177,14 +4177,14 @@ static int decode_residual(H264Context *
                 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;




More information about the ffmpeg-cvslog mailing list