forked from pool/musepack
de4d4408a6
- Add libmpcdec-extern.patch: add missing extern declarations (boo#1160284). OBS-URL: https://build.opensuse.org/request/show/761896 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/musepack?expand=0&rev=8
18 lines
749 B
Diff
18 lines
749 B
Diff
Index: libmpcdec/requant.h
|
|
===================================================================
|
|
--- libmpcdec/requant.h (revision 478)
|
|
+++ libmpcdec/requant.h (revision 479)
|
|
@@ -47,9 +47,9 @@
|
|
|
|
|
|
/* 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)
|
|
#define Dc (__Dc + 1)
|