tta: let samples declaration match cast
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
f51c4bfe3f
commit
01c9ffa913
@ -427,7 +427,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 2: {
|
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++)
|
for (p = s->decode_buffer; p < s->decode_buffer + (framelen * s->channels); p++)
|
||||||
*samples++ = *p;
|
*samples++ = *p;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user