]> git.sesse.net Git - vlc/commitdiff
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 cacac6224b12d9397e8be4ada80e0c31bc9d30bf..9f1ff32805b82ab37c665f4e5e15272a43b80a71 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