1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

bessel: check that the function terminates as expected by av_assert2().

A clear abort is better than wrong output and a possible crash.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-08-09 01:42:42 +02:00
parent f79f25e948
commit 4ec03d1386

View File

@ -78,6 +78,7 @@ static double bessel(double x){
lastv=v;
t *= x*inv[i];
v += t;
av_assert2(i<99);
}
return v;
}