From 3971be0eb5d382b85f1d8772c51f21cccdc68eab Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Sat, 9 Jun 2012 13:45:49 -0700 Subject: Add Dolby/DPLII downmix support to libavresample Signed-off-by: Justin Ruggles --- libavresample/audio_mix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavresample/audio_mix.c') diff --git a/libavresample/audio_mix.c b/libavresample/audio_mix.c index 7ab11b0d4d..93192221cd 100644 --- a/libavresample/audio_mix.c +++ b/libavresample/audio_mix.c @@ -320,7 +320,8 @@ int ff_audio_mix_init(AVAudioResampleContext *avr) avr->center_mix_level, avr->surround_mix_level, avr->lfe_mix_level, 1, matrix_dbl, - avr->in_channels); + avr->in_channels, + avr->matrix_encoding); if (ret < 0) { av_free(matrix_dbl); return ret; -- cgit v1.2.3