diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-06-28 15:53:36 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-06-28 15:53:36 +0000 |
commit | 26bdc6bc6e420045889818e2e6afc60275c35abd (patch) | |
tree | 8513ab83eb4a28181ebe1a098aa692c68f940f5b | |
parent | 06f32b26341cf482490a4b0dfa648c9a664b1762 (diff) | |
download | ffmpeg-26bdc6bc6e420045889818e2e6afc60275c35abd.tar.gz |
this prediction direction adjustment is wrong
Originally committed as revision 9450 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/vc1.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index 391d4e1f98..3fe0d272c3 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -2603,9 +2603,7 @@ static int vc1_decode_i_block_adv(VC1Context *v, DCTELEM block[64], int n, int c //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; |