shithub: libsamplerate

Download patch

ref: 97c9c4b9d3231aef615c8e17935b95ba3b9c8012
parent: 11fe9091abd89de478f4dee6208b3211c300c339
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Sun Dec 14 15:57:13 EST 2008

src/src_sinc.c : Add comment about 1999 ISO Standard C.

--- a/src/src_sinc.c
+++ b/src/src_sinc.c
@@ -709,7 +709,9 @@
 
 static inline void
 calc_output_multi (SINC_FILTER *filter, increment_t increment, increment_t start_filter_index, int channels, double scale, float * output)
-{	double		fraction, left [channels], right [channels], icoeff ;
+{	double		fraction, icoeff ;
+	/* The following line is 1999 ISO Standard C. If your compiler complains, get a better compiler. */
+	double		left [channels], right [channels] ;
 	increment_t	filter_index, max_filter_index ;
 	int			data_index, coeff_count, indx, ch ;