Mercurial > libavcodec.hg
changeset 5194:d09eaf79979c libavcodec
this prediction direction adjustment is wrong
author | kostya |
---|---|
date | Thu, 28 Jun 2007 15:53:36 +0000 |
parents | 19ed7e6ef927 |
children | 71db186c51b7 |
files | vc1.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
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;