summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2015-10-28 15:38:20 +0100
committerDiego Biurrun <diego@biurrun.de>2016-10-01 00:45:55 +0200
commit43717469f9daa402f6acb48997255827a56034e9 (patch)
tree16960ef3b92b1da9c4b34a88128050009a898cba /libavcodec/ac3dec.h
parent8ea35af7620e4f73f9e8c072e1c0fac9a04ec161 (diff)
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.h2
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