Assume liba52 is built as fixed-point if needed
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 19:13:55 +0000 (22:13 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 19:15:42 +0000 (22:15 +0300)
(This kinda sucks, but liba52 does not export is build mode through
 any public header)

modules/audio_filter/converter/a52tofloat32.c

index cacac62..9f1ff32 100644 (file)
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
+#include <vlc_cpu.h>
 
 #include <stdint.h>                                         /* int16_t .. */
 
+#if !HAVE_FPU
+# define LIBA52_FIXED
+#endif
 #ifdef USE_A52DEC_TREE                                 /* liba52 header file */
 #   include "include/a52.h"
 #else