summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/libflac
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2013-07-04 14:22:42 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2013-07-04 14:22:42 +0000
commitbb590452ddf4f693fa684840ca1e10c6ba98327d (patch)
treef8755d0ba62d8876a22c2c90f45348a24f3c2fc2 /src/lib/libflac
parent0f813d48f32df4226039beabfeba6f0aeb4d2898 (diff)
disabled optimizations for FLAC__lpc_compute_autocorrelation() for 32-bit GCC builds to prevent different output filesizes with optimized builds (nw)
Diffstat (limited to 'src/lib/libflac')
-rw-r--r--src/lib/libflac/libflac/lpc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/libflac/libflac/lpc.c b/src/lib/libflac/libflac/lpc.c
index cdf2e4a0c1d..7b9de496e1a 100644
--- a/src/lib/libflac/libflac/lpc.c
+++ b/src/lib/libflac/libflac/lpc.c
@@ -60,6 +60,9 @@ void FLAC__lpc_window_data(const FLAC__int32 in[], const FLAC__real window[], FL
out[i] = in[i] * window[i];
}
+#if defined(__GNUC__) && defined(__i386__)
+__attribute__((optimize("O0")))
+#endif
void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[])
{
/* a readable, but slower, version */