Commit 9b4767e4 authored by Janne Grunau's avatar Janne Grunau

vp3: fix streams with non-zero last coefficient

Fixes a regression introduced in 8b94df0f.
parent 2ba65879
......@@ -1378,6 +1378,8 @@ static inline int vp3_dequant(Vp3DecodeContext *s, Vp3Fragment *frag,
return i;
}
} while (i < 64);
// return value is expected to be a valid level
i--;
end:
// the actual DC+prediction is in the fragment structure
block[0] = frag->dc * s->qmat[0][inter][plane][0];
......
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