aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-29 14:07:34 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-29 14:13:05 +0100
commit6e7de1144436a6871fdbd7859f3a2ece6e89d9fb (patch)
tree2f85b86b5e6f8de260a4f09a085dbc28cca92dc8 /libavcodec
parent73b87304754c81763b7feb9a7c7e0e15dd72826f (diff)
downloadffmpeg-6e7de1144436a6871fdbd7859f3a2ece6e89d9fb.tar.gz
avcodec/dcadec: decode LFE so we dont just add random data when downmixing with LFE
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dcadec.c2
1 files changed, 1 insertions, 1 deletions
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],