aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-11 08:09:37 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-08 07:39:53 +0100
commit192f1984b1a93aa08af053b8f9ab4950f307bd5d (patch)
treed3ad3762fab5637ce0f90be4f0a492ddb3527725
parent15ec0450b4ae891f3e6ababa03c777a4443b94ca (diff)
downloadffmpeg-192f1984b1a93aa08af053b8f9ab4950f307bd5d.tar.gz
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.
-rw-r--r--libavcodec/internal.h2
1 files changed, 1 insertions, 1 deletions
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 {
/**