summaryrefslogtreecommitdiff
path: root/apps/codecs/libffmpegFLAC
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libffmpegFLAC')
-rw-r--r--apps/codecs/libffmpegFLAC/decoder.h2
-rw-r--r--apps/codecs/libffmpegFLAC/shndec.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libffmpegFLAC/decoder.h b/apps/codecs/libffmpegFLAC/decoder.h
index 9e2240f..632bb1b 100644
--- a/apps/codecs/libffmpegFLAC/decoder.h
+++ b/apps/codecs/libffmpegFLAC/decoder.h
@@ -7,7 +7,7 @@
#define MAX_BLOCKSIZE 4608 /* Maxsize in samples of one uncompressed frame */
#define MAX_FRAMESIZE 32768 /* Maxsize in bytes of one compressed frame */
-#define FLAC_OUTPUT_DEPTH 28 /* Provide samples left-shifted to 28-bits */
+#define FLAC_OUTPUT_DEPTH 29 /* Provide samples left-shifted to 28 bits+sign */
enum decorrelation_type {
INDEPENDENT,
diff --git a/apps/codecs/libffmpegFLAC/shndec.h b/apps/codecs/libffmpegFLAC/shndec.h
index 713a5b5..068f4fa 100644
--- a/apps/codecs/libffmpegFLAC/shndec.h
+++ b/apps/codecs/libffmpegFLAC/shndec.h
@@ -1,6 +1,6 @@
#include "bitstream.h"
-#define SHN_OUTPUT_DEPTH 28
+#define SHN_OUTPUT_DEPTH 29 /* 28 bits + sign */
#define MAX_CHANNELS 2
#define MAX_PRED_ORDER 16