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:
parent
c868219c9a
commit
507d2d28d6
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user