aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tta.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-18 02:07:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-18 02:08:12 +0100
commite191f1f4141aec6b40d12af4835844deca134a1e (patch)
treef50a57ec102a0c0902512b1535124515510baf0a /libavcodec/tta.c
parent140a9afcf284123f3967060c6c7ef8105484bca6 (diff)
parent01ed1c390d8376ba5fac278ceee044bb03a58804 (diff)
downloadffmpeg-e191f1f4141aec6b40d12af4835844deca134a1e.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: tta: cast output data pointer to the correct type avconv: fix -frames for video encoders with delay. Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 42cbc01db5..8d49bc80d2 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -326,7 +326,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++) {