mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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.
This commit is contained in:
parent
15ec0450b4
commit
192f1984b1
@ -31,7 +31,7 @@
|
|||||||
#include "libavutil/pixfmt.h"
|
#include "libavutil/pixfmt.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
#define FF_SANE_NB_CHANNELS 128U
|
#define FF_SANE_NB_CHANNELS 63U
|
||||||
|
|
||||||
typedef struct FramePool {
|
typedef struct FramePool {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user