Commit 01ed1c39 authored by Justin Ruggles's avatar Justin Ruggles

tta: cast output data pointer to the correct type

fixes "warning: assignment from incompatible pointer type"
parent 99932847
......@@ -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 = s->frame.data[0];
s->decode_buffer = (int32_t *)s->frame.data[0];
// init per channel states
for (i = 0; i < s->channels; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment