[SCM] libav/experimental: indention

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:09:17 UTC 2013


The following commit has been merged in the experimental branch:
commit 8590bcc3cd4c8832cc480c8c8fed4b73418afb9f
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Nov 9 21:49:41 2007 +0000

    indention
    
    Originally committed as revision 10976 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 2a8d154..aa4dcdb 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -1234,17 +1234,17 @@ static int vc1_parse_frame_header(VC1Context *v, GetBitContext* gb)
         break;
     }
 
-  if(!v->x8_type)
-  {
-    /* AC Syntax */
-    v->c_ac_table_index = decode012(gb);
-    if (v->s.pict_type == I_TYPE || v->s.pict_type == BI_TYPE)
+    if(!v->x8_type)
     {
-        v->y_ac_table_index = decode012(gb);
+        /* AC Syntax */
+        v->c_ac_table_index = decode012(gb);
+        if (v->s.pict_type == I_TYPE || v->s.pict_type == BI_TYPE)
+        {
+            v->y_ac_table_index = decode012(gb);
+        }
+        /* DC Syntax */
+        v->s.dc_table_index = get_bits1(gb);
     }
-    /* DC Syntax */
-    v->s.dc_table_index = get_bits1(gb);
-  }
 
     if(v->s.pict_type == BI_TYPE) {
         v->s.pict_type = B_TYPE;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list