summaryrefslogtreecommitdiff
path: root/libavcodec/mlp.h
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-04-21 22:32:50 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-04-21 22:32:50 +0000
commit309616b2490d5504fe95fc0d71d2001a5ac27768 (patch)
tree5762d373c5a334de79ced192f9a2ff0b4c4fdeb0 /libavcodec/mlp.h
parent868170c4da283626973ec97a40d28411cb7fbbdf (diff)
mlpdec: Validate num_primitive_matrices.
Originally committed as revision 18650 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mlp.h')
-rw-r--r--libavcodec/mlp.h2
1 files changed, 2 insertions, 0 deletions
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.