Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
9530:dbb16aa52d43 | 9531:19a70bcc2220 |
---|---|
24 | 24 |
25 #include <stdint.h> | 25 #include <stdint.h> |
26 | 26 |
27 #include "avcodec.h" | 27 #include "avcodec.h" |
28 | 28 |
29 /** Last possible matrix channel for each codec */ | |
30 #define MAX_MATRIX_CHANNEL_MLP 5 | |
31 #define MAX_MATRIX_CHANNEL_TRUEHD 7 | |
29 /** Maximum number of channels that can be decoded. */ | 32 /** Maximum number of channels that can be decoded. */ |
30 #define MAX_CHANNELS 16 | 33 #define MAX_CHANNELS 16 |
31 | 34 |
32 /** Maximum number of matrices used in decoding; most streams have one matrix | 35 /** Maximum number of matrices used in decoding; most streams have one matrix |
33 * per output channel, but some rematrix a channel (usually 0) more than once. | 36 * per output channel, but some rematrix a channel (usually 0) more than once. |