summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/apedec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c
index 29d4d3f6ac..5421aade97 100644
--- a/libavcodec/apedec.c
+++ b/libavcodec/apedec.c
@@ -856,7 +856,7 @@ static int ape_decode_frame(AVCodecContext * avctx,
if(!s->samples){
s->data = av_realloc(s->data, (buf_size + 3) & ~3);
- s->dsp.bswap_buf(s->data, buf, buf_size >> 2);
+ s->dsp.bswap_buf((uint32_t*)s->data, (uint32_t*)buf, buf_size >> 2);
s->ptr = s->last_ptr = s->data;
s->data_end = s->data + buf_size;