vp3: fix streams with non-zero last coefficient
Fixes a regression introduced in8b94df0f20. (cherry picked from commit9b4767e478) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
This commit is contained in:
committed by
Reinhard Tartler
parent
d61b38b9db
commit
82a11fcff2
@@ -1306,6 +1306,8 @@ static inline int vp3_dequant(Vp3DecodeContext *s, Vp3Fragment *frag,
|
|||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
} while (i < 64);
|
} while (i < 64);
|
||||||
|
// return value is expected to be a valid level
|
||||||
|
i--;
|
||||||
end:
|
end:
|
||||||
// the actual DC+prediction is in the fragment structure
|
// the actual DC+prediction is in the fragment structure
|
||||||
block[0] = frag->dc * s->qmat[0][inter][plane][0];
|
block[0] = frag->dc * s->qmat[0][inter][plane][0];
|
||||||
|
|||||||
Reference in New Issue
Block a user