shithub: aacenc

Download patch

ref: 40e7fa5d5a42de2294031e29618db10e5070cf53
parent: cdfe72b0df8e5666b1f85c092225076095e120d9
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Thu Oct 5 16:35:02 EDT 2017

better CPU/SSE check

--- a/libfaac/quantize.c
+++ b/libfaac/quantize.c
@@ -123,7 +123,7 @@
       sfacfix = exp(sfac / sfstep);
       coderInfo->scale_factor[coderInfo->sfcnt++] = sfac;
 
-#if defined(__GNUC__) && defined(__i686__)
+#if defined(__GNUC__) && defined(__SSE2__)
 typedef float v4sf __attribute__ ((vector_size (16)));
 typedef int v4si __attribute__ ((vector_size (16)));
       if (__builtin_cpu_supports("sse2"))