Mercurial > libavcodec.hg
diff vc1.c @ 5194:d09eaf79979c libavcodec
this prediction direction adjustment is wrong
author | kostya |
---|---|
date | Thu, 28 Jun 2007 15:53:36 +0000 |
parents | d98460d07146 |
children | 2b72f9bc4f06 |
line wrap: on
line diff
--- 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;