[FFmpeg-cvslog] libfdk-aacdec: Bump the max number of channels to 8

Martin Storsjö git at videolan.org
Tue Aug 18 09:02:23 CEST 2015


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Aug 14 10:55:54 2015 +0300| [87de6ddb7b7674e329d5c96677bd8685bc7f7855] | committer: 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 at libav.org
Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87de6ddb7b7674e329d5c96677bd8685bc7f7855
---

 libavcodec/libfdk-aacdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libfdk-aacdec.c b/libavcodec/libfdk-aacdec.c
index e893ee3..30dd59f 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)



More information about the ffmpeg-cvslog mailing list