diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2015-10-28 15:38:20 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-10-01 00:45:55 +0200 |
commit | 43717469f9daa402f6acb48997255827a56034e9 (patch) | |
tree | 16960ef3b92b1da9c4b34a88128050009a898cba /libavcodec/ac3dec.h | |
parent | 8ea35af7620e4f73f9e8c072e1c0fac9a04ec161 (diff) | |
download | ffmpeg-43717469f9daa402f6acb48997255827a56034e9.tar.gz |
ac3dsp: Reverse matrix in/out order in downmix()
Also use (float **) instead of (float (*)[2]). This matches the matrix
layout in libavresample so we can reuse assembly code between the two.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/ac3dec.h')
-rw-r--r-- | libavcodec/ac3dec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.h b/libavcodec/ac3dec.h index 4c5359cb87..4a7e281932 100644 --- a/libavcodec/ac3dec.h +++ b/libavcodec/ac3dec.h @@ -147,7 +147,7 @@ typedef struct AC3DecodeContext { int fbw_channels; ///< number of full-bandwidth channels int channels; ///< number of total channels int lfe_ch; ///< index of LFE channel - float downmix_coeffs[AC3_MAX_CHANNELS][2]; ///< stereo downmix coefficients + float *downmix_coeffs[2]; ///< stereo downmix coefficients int downmixed; ///< indicates if coeffs are currently downmixed int output_mode; ///< output channel configuration int out_channels; ///< number of output channels |