Debian Codegraph @

packaging/flatpak/patches/musepack_src_r475-const.patch

raw
1 diff -Naur musepack_src_r475/libmpcdec/requant.h musepack_src_r475-patch/libmpcdec/requant.h
2 --- musepack_src_r475/libmpcdec/requant.h 2009-02-23 17:44:04 +0000
3 +++ musepack_src_r475-patch/libmpcdec/requant.h 2020-10-02 23:44:08 +0000
4 @@ -47,9 +47,9 @@
5
6
7 /* C O N S T A N T S */
8 -const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
9 -const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
10 -const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
11 +extern const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
12 +extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
13 +extern const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
14
15 #define Cc (__Cc + 1)
16 #define Dc (__Dc + 1)