Correections for comments.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
Erik de Castro Lopo
2014-06-28 09:10:28 +10:00
parent 2116df235c
commit 987f74ae7a
3 changed files with 4 additions and 3 deletions

View File

@@ -61,7 +61,7 @@
static inline long int lround(double x) {
return (long)(x + copysign (0.5, x));
}
//If this fails, we are in the precence of a mid 90's compiler..move along...
/* If this fails, we are in the presence of a mid 90's compiler, move along... */
#endif
void FLAC__lpc_window_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len)

View File

@@ -623,7 +623,7 @@ FLAC__bool grabbag__replaygain_load_from_vorbiscomment(const FLAC__StreamMetadat
/*
* We need to save the old locale and switch to "C" because the locale
* influences the formatting of %f and we want it a certain way.
* influences the behaviour of strtod and we want it a certain way.
*/
saved_locale = strdup(setlocale(LC_ALL, 0));
if (0 == saved_locale)

View File

@@ -531,7 +531,8 @@ analyzeResult ( uint32_t* Array, size_t len )
if ( elems == 0 )
return GAIN_NOT_ENOUGH_SAMPLES;
#if 0 /* GCC bug workaround: it incorrectly calculates 'elems * (1. - RMS_PERCENTILE)' with -O3 -msse2 ... options */
/* workaround for GCC bug #61423: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61423 */
#if 0
upper = (int32_t) ceil (elems * (1. - RMS_PERCENTILE));
#else
upper = (int32_t) (elems / 20 + ((elems % 20) ? 1 : 0));