summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-10-22 13:40:10 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-11-01 11:29:13 -0400
commitbb6941af2afd057c3897afb78d034de2c355b8a0 (patch)
tree0356b139f424ac2dde4da62ce15adea324647b01 /libavcodec/internal.h
parent6b07830a77729fe25c30026feabd53e8c4c5eb9e (diff)
downloadffmpeg-bb6941af2afd057c3897afb78d034de2c355b8a0.tar.gz
lavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM decoders
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index e5b1958596..231d4b6809 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -30,6 +30,8 @@
#include "libavutil/pixfmt.h"
#include "avcodec.h"
+#define FF_SANE_NB_CHANNELS 128U
+
typedef struct InternalBuffer {
uint8_t *base[AV_NUM_DATA_POINTERS];
uint8_t *data[AV_NUM_DATA_POINTERS];