mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
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;
|
||||
}
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user