Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 11 years ago
parent
commit
6e7de11444
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dcadec.c

+ 1
- 1
libavcodec/dcadec.c View File

@@ -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],


Loading…
Cancel
Save