# HG changeset patch # User kostya # Date 1183046016 0 # Node ID d09eaf79979c20ed2846ffd6cf11a4d3f6a01ce2 # Parent 19ed7e6ef92724e17327245d41203d9c0c55f22a this prediction direction adjustment is wrong diff -r 19ed7e6ef927 -r d09eaf79979c vc1.c --- a/vc1.c Wed Jun 27 14:27:47 2007 +0000 +++ b/vc1.c Thu Jun 28 15:53:36 2007 +0000 @@ -2603,9 +2603,7 @@ //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;