mirror of https://git.ffmpeg.org/ffmpeg.git
We cannot clip to INT_MAX because that value cannot be exactly represented by a float value and ends up overflowing during conversion anyway. We need to use a slightly smaller float value, which ends up with slightly inaccurate results for samples which clip or nearly clip, but it is close enough. Using doubles as intermediates in the conversion would be more accurate, but it takes about twice as much time. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> |
||
---|---|---|
.. | ||
Makefile | ||
audio_convert.asm | ||
audio_convert_init.c | ||
audio_mix.asm | ||
audio_mix_init.c | ||
util.asm |