tta: fix 24-bit decoding.
Decode to the correct output buffer.
This commit is contained in:
parent
75146b8828
commit
52e9854a83
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user