[FFmpeg-cvslog] r9450 - trunk/libavcodec/vc1.c

kostya subversion
Thu Jun 28 17:53:36 CEST 2007


Author: kostya
Date: Thu Jun 28 17:53:36 2007
New Revision: 9450

Log:
this prediction direction adjustment is wrong

Modified:
   trunk/libavcodec/vc1.c

Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c	(original)
+++ trunk/libavcodec/vc1.c	Thu Jun 28 17:53:36 2007
@@ -2603,9 +2603,7 @@ static int vc1_decode_i_block_adv(VC1Con
     //AC Decoding
     i = 1;
 
-    /* check if AC is needed at all and adjust direction if needed */
-    if(!a_avail) dc_pred_dir = 1;
-    if(!c_avail) dc_pred_dir = 0;
+    /* check if AC is needed at all */
     if(!a_avail && !c_avail) use_pred = 0;
     ac_val = s->ac_val[0][0] + s->block_index[n] * 16;
     ac_val2 = ac_val;




More information about the ffmpeg-cvslog mailing list