diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-07 10:25:32 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-17 09:41:13 -0500 |
commit | 01ed1c390d8376ba5fac278ceee044bb03a58804 (patch) | |
tree | fd2a96f6ac680e961e8da7d9664c5199b22f1984 /libavcodec/tta.c | |
parent | 999328479305e317d9fdaeae791a60d299986073 (diff) | |
download | ffmpeg-01ed1c390d8376ba5fac278ceee044bb03a58804.tar.gz |
tta: cast output data pointer to the correct type
fixes "warning: assignment from incompatible pointer type"
Diffstat (limited to 'libavcodec/tta.c')
-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 bc83bfdf1d..4656ce12e6 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -314,7 +314,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data, // decode directly to output buffer for 24-bit sample format if (s->bps == 3) - s->decode_buffer = s->frame.data[0]; + s->decode_buffer = (int32_t *)s->frame.data[0]; // init per channel states for (i = 0; i < s->channels; i++) { |