diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2006-06-27 15:34:14 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2006-06-27 15:34:14 +0000 |
commit | 8985c915af680c91ef65812b3c8dc66f02ba7510 (patch) | |
tree | 65f71b037411fa66887d3ed888edcd8bed4205d3 | |
parent | 0b52626eb0dc53907c72efb8d4f1e837fe8f63d0 (diff) | |
download | ffmpeg-8985c915af680c91ef65812b3c8dc66f02ba7510.tar.gz |
VC1 Intra blocks in P-frames use different zigzag table than I-frames.
Originally committed as revision 5534 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/vc1.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index b86ab111bc..34f46c9d31 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -1927,13 +1927,7 @@ static int vc1_decode_intra_block(VC1Context *v, DCTELEM block[64], int n, int c scale = mquant * 2 + v->halfpq; - if(v->s.ac_pred) { - if(!dc_pred_dir) - zz_table = vc1_horizontal_zz; - else - zz_table = vc1_vertical_zz; - } else - zz_table = vc1_normal_zz; + zz_table = vc1_simple_progressive_8x8_zz; ac_val = s->ac_val[0][0] + s->block_index[n] * 16; ac_val2 = ac_val; |