tta: fix 24-bit decoding.

Decode to the correct output buffer.
This commit is contained in:
Justin Ruggles 2012-01-06 18:14:24 -05:00
parent 75146b8828
commit 52e9854a83

View File

@ -314,7 +314,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
// decode directly to output buffer for 24-bit sample format
if (s->bps == 3)
s->decode_buffer = data;
s->decode_buffer = s->frame.data[0];
// init per channel states
for (i = 0; i < s->channels; i++) {