Commit 507d2d28 authored by Michael Niedermayer's avatar Michael Niedermayer

lsp: change assert to av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c868219c
......@@ -75,7 +75,7 @@ static int16_t ff_cos(uint16_t arg)
uint8_t offset= arg;
uint8_t ind = arg >> 8;
assert(arg <= 0x3fff);
av_assert2(arg <= 0x3fff);
return tab_cos[ind] + (offset * (tab_cos[ind+1] - tab_cos[ind]) >> 8);
}
......
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