diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-09-30 13:25:08 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-09-30 13:39:38 +0000 |
commit | 01c9ffa9134bec2a9b97c39a7b59aa0d0d5683b9 (patch) | |
tree | 221227a0805fc457b580c3bec29efb39742a3678 | |
parent | f51c4bfe3f34c8ff33a2b9d93e42745119c396a3 (diff) | |
download | ffmpeg-01c9ffa9134bec2a9b97c39a7b59aa0d0d5683b9.tar.gz |
tta: let samples declaration match cast
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/tta.c | 2 |
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; |