avcodec/x86/dsputil_qns_template: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e32cbd0f54
commit
ea7b96af96
@ -28,7 +28,7 @@ static int DEF(try_8x8basis)(int16_t rem[64], int16_t weight[64], int16_t basis[
|
|||||||
{
|
{
|
||||||
x86_reg i=0;
|
x86_reg i=0;
|
||||||
|
|
||||||
assert(FFABS(scale) < MAX_ABS);
|
av_assert2(FFABS(scale) < MAX_ABS);
|
||||||
scale<<= 16 + SCALE_OFFSET - BASIS_SHIFT + RECON_SHIFT;
|
scale<<= 16 + SCALE_OFFSET - BASIS_SHIFT + RECON_SHIFT;
|
||||||
|
|
||||||
SET_RND(mm6);
|
SET_RND(mm6);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user