fix libmpcdec fixed point math (#4715)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@16239 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-05-31 23:02:15 +00:00
parent 3f3adaca73
commit 45114220f7
2 changed files with 12 additions and 1 deletions

View File

@ -31,7 +31,7 @@ define Package/libmpcdec/description
Musepack decoder library
endef
TARGET_CFLAGS += $(FPIC) -DMPC_FIXED_POINT
TARGET_CFLAGS += $(FPIC)
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/mpcdec/

View File

@ -0,0 +1,11 @@
--- a/include/mpcdec/math.h
+++ b/include/mpcdec/math.h
@@ -38,7 +38,7 @@
#ifndef _mpcdec_math_h_
#define _mpcdec_math_h_
-//#define MPC_FIXED_POINT
+#define MPC_FIXED_POINT
#define MPC_FIXED_POINT_SHIFT 16