Skip to content
Snippets Groups Projects
Commit 52e9854a authored by Justin Ruggles's avatar Justin Ruggles
Browse files

tta: fix 24-bit decoding.

Decode to the correct output buffer.
parent 75146b88
No related branches found
No related tags found
No related merge requests found
......@@ -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++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment