tta: Fix comment about channel number; TTA supports >2 channels.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
pull/30/merge
Aneesh Dogra 13 years ago committed by Diego Biurrun
parent 91791ac2ed
commit 46ea46357a
  1. 2
      libavcodec/tta.c

@ -416,7 +416,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
if (cur_chan < (s->channels-1))
cur_chan++;
else {
// decorrelate in case of stereo integer
// decorrelate in case of multiple channels
if (s->channels > 1) {
int32_t *r = p - 1;
for (*p += *r / 2; r > p - s->channels; r--)

Loading…
Cancel
Save