mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
dcadec: Decode LFE to avoid adding random data when downmixing with LFE
Signed-off-by: Tim Walker <tdskywalker@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
d085f80fa1
commit
b6a9719941
@ -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]],
|
||||
|
Loading…
x
Reference in New Issue
Block a user