From 309616b2490d5504fe95fc0d71d2001a5ac27768 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Tue, 21 Apr 2009 22:32:50 +0000 Subject: mlpdec: Validate num_primitive_matrices. Originally committed as revision 18650 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mlp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/mlp.h') diff --git a/libavcodec/mlp.h b/libavcodec/mlp.h index 910d819cd9..f4bb9246e3 100644 --- a/libavcodec/mlp.h +++ b/libavcodec/mlp.h @@ -35,6 +35,8 @@ /** Maximum number of matrices used in decoding; most streams have one matrix * per output channel, but some rematrix a channel (usually 0) more than once. */ +#define MAX_MATRICES_MLP 6 +#define MAX_MATRICES_TRUEHD 8 #define MAX_MATRICES 15 /** Maximum number of substreams that can be decoded. -- cgit v1.2.3