From 8985c915af680c91ef65812b3c8dc66f02ba7510 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Tue, 27 Jun 2006 15:34:14 +0000 Subject: [PATCH] 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 --- libavcodec/vc1.c | 8 +------- 1 file changed, 1 insertion(+), 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;