Commit b6a97199 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Luca Barbato

dcadec: Decode LFE to avoid adding random data when downmixing with LFE

Signed-off-by: 's avatarTim Walker <tdskywalker@gmail.com>
Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent d085f80f
......@@ -1263,7 +1263,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[dca_lfe_index[s->amode]],
......
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