1
0
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:
Paul B Mahol 2012-09-30 13:25:08 +00:00
parent f51c4bfe3f
commit 01c9ffa913

View File

@ -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;