diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-04-21 22:12:30 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-04-21 22:12:30 +0000 |
commit | 868170c4da283626973ec97a40d28411cb7fbbdf (patch) | |
tree | 441468f83c7b2903b0f9c9ea29f3b07caf7091f5 /libavcodec/mlp.h | |
parent | 46958efe97b53ee56725d2f03555e06dbead5e30 (diff) | |
download | ffmpeg-868170c4da283626973ec97a40d28411cb7fbbdf.tar.gz |
mlpdec: Validate max_channel and max_matrix_channel.
Originally committed as revision 18649 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mlp.h')
-rw-r--r-- | libavcodec/mlp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mlp.h b/libavcodec/mlp.h index 433f95f6eb..910d819cd9 100644 --- a/libavcodec/mlp.h +++ b/libavcodec/mlp.h @@ -26,6 +26,9 @@ #include "avcodec.h" +/** Last possible matrix channel for each codec */ +#define MAX_MATRIX_CHANNEL_MLP 5 +#define MAX_MATRIX_CHANNEL_TRUEHD 7 /** Maximum number of channels that can be decoded. */ #define MAX_CHANNELS 16 |