Browse Source

dcadec: skip QMF on unused channels

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
b4e6265136
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/dcadec.c

+ 1
- 0
libavcodec/dcadec.c View File

@@ -1442,6 +1442,7 @@ static int dca_filter_channels(DCAContext *s, int block_index)
for (k = 0; k < s->prim_channels; k++) {
/* static float pcm_to_double[8] = { 32768.0, 32768.0, 524288.0, 524288.0,
0, 8388608.0, 8388608.0 };*/
if(s->channel_order_tab[k] >= 0)
qmf_32_subbands(s, k, subband_samples[k],
s->samples_chanptr[s->channel_order_tab[k]],
M_SQRT1_2 / 32768.0 /* pcm_to_double[s->source_pcm_res] */);


Loading…
Cancel
Save