Commit 9126c55d authored by kostya's avatar kostya

HALFPQ should be used only for when PQUANT is selected

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10500 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b2862402
......@@ -2562,7 +2562,7 @@ static int vc1_decode_i_block_adv(VC1Context *v, DCTELEM block[64], int n, int c
ac_val = s->ac_val[0][0] + s->block_index[n] * 16;
ac_val2 = ac_val;
scale = mquant * 2 + v->halfpq;
scale = mquant * 2 + ((mquant == v->pq) ? v->halfpq : 0);
if(dc_pred_dir) //left
ac_val -= 16;
......
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