Commit 01c9ffa9 authored by Paul B Mahol's avatar Paul B Mahol

tta: let samples declaration match cast

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent f51c4bfe
......@@ -427,7 +427,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
break;
}
case 2: {
uint16_t *samples = (int16_t *)s->frame.data[0];
int16_t *samples = (int16_t *)s->frame.data[0];
for (p = s->decode_buffer; p < s->decode_buffer + (framelen * s->channels); p++)
*samples++ = *p;
break;
......
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