aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tta.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-09-30 13:25:08 +0000
committerPaul B Mahol <onemda@gmail.com>2012-09-30 13:39:38 +0000
commit01c9ffa9134bec2a9b97c39a7b59aa0d0d5683b9 (patch)
tree221227a0805fc457b580c3bec29efb39742a3678 /libavcodec/tta.c
parentf51c4bfe3f34c8ff33a2b9d93e42745119c396a3 (diff)
downloadffmpeg-01c9ffa9134bec2a9b97c39a7b59aa0d0d5683b9.tar.gz
tta: let samples declaration match cast
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r--libavcodec/tta.c2
1 files changed, 1 insertions, 1 deletions
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;