[FFmpeg-cvslog] lavc: limit maximum number of channels to 63

Anton Khirnov git at videolan.org
Tue Mar 12 12:28:15 CET 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Feb 11 08:09:37 2013 +0100| [192f1984b1a93aa08af053b8f9ab4950f307bd5d] | committer: Anton Khirnov

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.

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

 libavcodec/internal.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 75bd4b9..3f28d4b 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 {
     /**



More information about the ffmpeg-cvslog mailing list