Commit 192f1984 authored by Anton Khirnov's avatar 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.
parent 15ec0450
......@@ -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 {
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment