From 01c9ffa9134bec2a9b97c39a7b59aa0d0d5683b9 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 30 Sep 2012 13:25:08 +0000 Subject: [PATCH] tta: let samples declaration match cast Signed-off-by: Paul B Mahol --- libavcodec/tta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tta.c b/libavcodec/tta.c index f03578344c..ce41cb310f 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -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;