diff mlp.h @ 9532:2aabf1a58f19 libavcodec

mlpdec: Validate num_primitive_matrices.
author ramiro
date Tue, 21 Apr 2009 22:32:50 +0000
parents 19a70bcc2220
children b724134599eb
line wrap: on
line diff
--- a/mlp.h	Tue Apr 21 22:12:30 2009 +0000
+++ b/mlp.h	Tue Apr 21 22:32:50 2009 +0000
@@ -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.