1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
Aneesh Dogra 2012-05-15 22:02:02 +05:30 committed by Diego Biurrun
parent 91791ac2ed
commit 46ea46357a

View File

@ -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--)