1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lsp: change assert to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-09-03 23:26:14 +02:00
parent c868219c9a
commit 507d2d28d6

View File

@ -75,7 +75,7 @@ static int16_t ff_cos(uint16_t arg)
uint8_t offset= arg; uint8_t offset= arg;
uint8_t ind = arg >> 8; 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); return tab_cos[ind] + (offset * (tab_cos[ind+1] - tab_cos[ind]) >> 8);
} }