Commit 87de6ddb authored by Martin Storsjö's avatar Martin Storsjö

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: 's avatarMartin Storsjö <martin@martin.st>
parent cb2dbe2c
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment