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:
parent
3f3adaca73
commit
45114220f7
@ -31,7 +31,7 @@ define Package/libmpcdec/description
|
|||||||
Musepack decoder library
|
Musepack decoder library
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC) -DMPC_FIXED_POINT
|
TARGET_CFLAGS += $(FPIC)
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/mpcdec/
|
$(INSTALL_DIR) $(1)/usr/include/mpcdec/
|
||||||
|
11
libs/libmpcdec/patches/100-fixed_point.patch
Normal file
11
libs/libmpcdec/patches/100-fixed_point.patch
Normal 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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user