[vlc-devel] [vlc-commits] soxr: Fix static linking.
Konstantin Pavlov
thresh at videolan.org
Sat Nov 5 18:07:26 CET 2016
On Sat, Nov 05, 2016 at 06:31:50PM +0200, RĂ©mi Denis-Courmont wrote:
> Inclusion of <math.> looks like cargo cult here. If so, this patch is wrong.
No:
283 static size_t
284 SoXR_GetOutLen( size_t i_ilen, double f_ratio )
285 {
286 /* Processed output len might be a little bigger than expected. Indeed SoXR
287 * can hold a few samples to meet the need of the resampling filter. */
288 return lrint( ( i_ilen + 2 ) * f_ratio * 11. / 10. );
289 }
--
VideoLAN
Konstantin Pavlov
http://www.videolan.org
Mobile: +7 926 165 45 31
Skype: cryothresh
Twitter: @cryothresh
More information about the vlc-devel
mailing list