From 6e7de1144436a6871fdbd7859f3a2ece6e89d9fb Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 29 Nov 2013 14:07:34 +0100 Subject: [PATCH] avcodec/dcadec: decode LFE so we dont just add random data when downmixing with LFE Signed-off-by: Michael Niedermayer --- libavcodec/dcadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index 4153755875..16a83171e9 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -1422,7 +1422,7 @@ static int dca_filter_channels(DCAContext *s, int block_index) } /* Generate LFE samples for this subsubframe FIXME!!! */ - if (s->output & DCA_LFE) { + if (s->lfe) { lfe_interpolation_fir(s, s->lfe, 2 * s->lfe, s->lfe_data + 2 * s->lfe * (block_index + 4), s->samples_chanptr[s->lfe_index],