tags 665974 patch upstream
thanks

Am Mittwoch, den 20.06.2012, 16:47 +0200 schrieb Fabian Greffrath:
> 1) Could you check if it works with the latest SVN snapshot of libmpc:
> svn co http://svn.musepack.net/libmpc
> 
> 2) Could you provide an example sound file somewhere? I do not have 
> one myself.

Thanks for the example sound file.

The fix is in upstream SVN commit 479, please find the patch attached to
this mail.

Best regards,
Fabian

r479 | r2d | 2012-03-30 22:03:53 +0200 (Fri, 30 Mar 2012) | 1 line

add extern keyword to global variable declaration (don't know it worked without ... thanks Dmitry)
--- libmpc-0.1~r459.orig/libmpcdec/requant.h
+++ libmpc-0.1~r459/libmpcdec/requant.h
@@ -47,9 +47,9 @@ extern "C" {
 
 
 /* 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)

Reply via email to