[vlc-devel] commit: Assume liba52 is built as fixed-point if needed ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Oct 19 21:15:50 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Oct 19 22:13:55 2009 +0300| [bfaa71e26dae6ca4abcb58bfa278c1988ce855ce] | committer: Rémi Denis-Courmont 

Assume liba52 is built as fixed-point if needed

(This kinda sucks, but liba52 does not export is build mode through
 any public header)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bfaa71e26dae6ca4abcb58bfa278c1988ce855ce
---

 modules/audio_filter/converter/a52tofloat32.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/audio_filter/converter/a52tofloat32.c b/modules/audio_filter/converter/a52tofloat32.c
index cacac62..9f1ff32 100644
--- a/modules/audio_filter/converter/a52tofloat32.c
+++ b/modules/audio_filter/converter/a52tofloat32.c
@@ -33,9 +33,13 @@
 
 #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




More information about the vlc-devel mailing list