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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/49/head
Michael Niedermayer 11 years ago
parent 73b8730475
commit 6e7de11444
  1. 2
      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],

Loading…
Cancel
Save