diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2015-10-28 17:38:20 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-10-01 01:45:55 +0300 |
commit | 43717469f9daa402f6acb48997255827a56034e9 (patch) | |
tree | 16960ef3b92b1da9c4b34a88128050009a898cba /libavcodec/ac3dsp.h | |
parent | 8ea35af7620e4f73f9e8c072e1c0fac9a04ec161 (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/ac3dsp.h')
-rw-r--r-- | libavcodec/ac3dsp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dsp.h b/libavcodec/ac3dsp.h index 6ca0c5b8e8..cdce21a865 100644 --- a/libavcodec/ac3dsp.h +++ b/libavcodec/ac3dsp.h @@ -126,7 +126,7 @@ typedef struct AC3DSPContext { void (*extract_exponents)(uint8_t *exp, int32_t *coef, int nb_coefs); - void (*downmix)(float **samples, float (*matrix)[2], int out_ch, + void (*downmix)(float **samples, float **matrix, int out_ch, int in_ch, int len); /** |