summaryrefslogtreecommitdiff
path: root/libavcodec/libfdk-aacdec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-08-14 10:55:54 +0300
committerMartin Storsjö <martin@martin.st>2015-08-16 00:17:46 +0300
commit87de6ddb7b7674e329d5c96677bd8685bc7f7855 (patch)
tree9be4dfd9d001fc9a9b959c2bb7a70a838cd88098 /libavcodec/libfdk-aacdec.c
parentcb2dbe2c762dae44d890aa26620bcdd9022fd0f3 (diff)
libfdk-aacdec: Bump the max number of channels to 8
In the latest version of fdk-aac, the decoder can output up to 8 channels; take this into account when preallocating buffers that need to fit the output from any packet. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/libfdk-aacdec.c')
-rw-r--r--libavcodec/libfdk-aacdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libfdk-aacdec.c b/libavcodec/libfdk-aacdec.c
index e893ee381e..30dd59f983 100644
--- a/libavcodec/libfdk-aacdec.c
+++ b/libavcodec/libfdk-aacdec.c
@@ -54,7 +54,7 @@ typedef struct FDKAACDecContext {
#define DMX_ANC_BUFFSIZE 128
-#define DECODER_MAX_CHANNELS 6
+#define DECODER_MAX_CHANNELS 8
#define DECODER_BUFFSIZE 2048 * sizeof(INT_PCM)
#define OFFSET(x) offsetof(FDKAACDecContext, x)