mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
audio/musepack: fix build on current
Obtained from: http://trac.musepack.net/musepack/changeset/479/libmpc/trunk/libmpcdec/requant.h
This commit is contained in:
parent
7d8925648d
commit
912ac6748f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546204
15
audio/musepack/files/patch-svn_r479
Normal file
15
audio/musepack/files/patch-svn_r479
Normal file
@ -0,0 +1,15 @@
|
||||
Index: libmpc/trunk/libmpcdec/requant.h
|
||||
===================================================================
|
||||
--- libmpcdec/requant.h
|
||||
+++ libmpcdec/requant.h
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
/* C O N S T A N T S */
|
||||
-const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
|
||||
-const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
|
||||
-const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
|
||||
+extern const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
|
||||
+extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
|
||||
+extern const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
|
||||
|
||||
#define Cc (__Cc + 1)
|
Loading…
Reference in New Issue
Block a user