comparison 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
comparison
equal deleted inserted replaced
9531:19a70bcc2220 9532:2aabf1a58f19
33 #define MAX_CHANNELS 16 33 #define MAX_CHANNELS 16
34 34
35 /** 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
36 * 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.
37 */ 37 */
38 #define MAX_MATRICES_MLP 6
39 #define MAX_MATRICES_TRUEHD 8
38 #define MAX_MATRICES 15 40 #define MAX_MATRICES 15
39 41
40 /** Maximum number of substreams that can be decoded. 42 /** Maximum number of substreams that can be decoded.
41 * MLP's limit is 2. TrueHD supports at least up to 3. 43 * MLP's limit is 2. TrueHD supports at least up to 3.
42 */ 44 */