Commit 6e7de114 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dcadec: decode LFE so we dont just add random data when downmixing with LFE

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 73b87304
......@@ -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],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment