From 774c84770f88309c734efabe6cc7c6ce764809d7 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 31 Jan 2008 00:10:56 +0000 Subject: [PATCH] cast to correct type, fix warning: apedec.c:859: warning: passing argument 1 of 's->dsp.bswap_buf' from incompatible pointer type Originally committed as revision 11679 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/apedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;