]> git.sesse.net Git - ffmpeg/commitdiff
lavc: limit maximum number of channels to 63
authorAnton Khirnov <anton@khirnov.net>
Mon, 11 Feb 2013 07:09:37 +0000 (08:09 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 8 Mar 2013 06:39:53 +0000 (07:39 +0100)
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

index 75bd4b9b1b68ebff350169ed0b6f82f962370a31..3f28d4b00ac8e82fd7f81ad781dce7c72e2fa240 100644 (file)
@@ -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 {
     /**