Module: libav
Branch: master
Commit: 192f1984b1a93aa08af053b8f9ab4950f307bd5d

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Mon Feb 11 08:09:37 2013 +0100

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 files changed, 1 insertions(+), 1 deletions(-)

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 {
     /**

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to