replaygain_synthesis.h : Fix FLAC_SHARE__MAX_SUPPORTED_CHANNELS.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 11 May 2014 10:24:27 +0000 (03:24 -0700)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 11 May 2014 10:24:32 +0000 (03:24 -0700)
Was previously hard coded as 2 when it should be FLAC__MAX_CHANNELS.

Patch-from: lvqcl <lvqcl.mail@gmail.com>

include/share/replaygain_synthesis.h

index bb8885c..3f16165 100644 (file)
@@ -21,9 +21,9 @@
 #define FLAC__SHARE__REPLAYGAIN_SYNTHESIS_H
 
 #include <stdlib.h> /* for size_t */
-#include "FLAC/ordinals.h"
+#include "FLAC/format.h"
 
-#define FLAC_SHARE__MAX_SUPPORTED_CHANNELS 2
+#define FLAC_SHARE__MAX_SUPPORTED_CHANNELS FLAC__MAX_CHANNELS
 
 typedef enum {
        NOISE_SHAPING_NONE = 0,