Commit 8985c915 authored by Kostya Shishkov's avatar Kostya Shishkov

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
parent 0b52626e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment