Mercurial > libavcodec.hg
diff mlp.h @ 9531:19a70bcc2220 libavcodec
mlpdec: Validate max_channel and max_matrix_channel.
author | ramiro |
---|---|
date | Tue, 21 Apr 2009 22:12:30 +0000 |
parents | 41e285948ffc |
children | 2aabf1a58f19 |
line wrap: on
line diff
--- a/mlp.h Tue Apr 21 21:57:23 2009 +0000 +++ b/mlp.h Tue Apr 21 22:12:30 2009 +0000 @@ -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