From 43717469f9daa402f6acb48997255827a56034e9 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 28 Oct 2015 15:38:20 +0100 Subject: 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 --- libavcodec/ac3dsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/ac3dsp.h') 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); /** -- cgit v1.2.3