1
0
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:
Tobias C. Berner 2020-08-25 17:53:52 +00:00
parent 7d8925648d
commit 912ac6748f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546204

View 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)