From 192f1984b1a93aa08af053b8f9ab4950f307bd5d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 11 Feb 2013 08:09:37 +0100 Subject: [PATCH] lavc: limit maximum number of channels to 63 This is the most that can be represented with the current channel layout system. This limit should be raised/removed when a better system is implemented. --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 75bd4b9b1b..3f28d4b00a 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -31,7 +31,7 @@ #include "libavutil/pixfmt.h" #include "avcodec.h" -#define FF_SANE_NB_CHANNELS 128U +#define FF_SANE_NB_CHANNELS 63U typedef struct FramePool { /**