From 868170c4da283626973ec97a40d28411cb7fbbdf Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Tue, 21 Apr 2009 22:12:30 +0000 Subject: mlpdec: Validate max_channel and max_matrix_channel. Originally committed as revision 18649 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mlp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/mlp.h') 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 -- cgit v1.2.3