Browse Source

make sure that the last coupling band stops at the end of the coupling range

Originally committed as revision 11438 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Justin Ruggles 18 years ago
parent
commit
4bc829bb8f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/ac3dec.c

+ 1
- 0
libavcodec/ac3dec.c View File

@@ -840,6 +840,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
s->num_cpl_bands--;
}
}
s->cpl_band_struct[s->num_cpl_subbands-1] = 0;
} else {
/* coupling not in use */
for (ch = 1; ch <= fbw_channels; ch++)


Loading…
Cancel
Save