diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-01-31 00:10:56 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-01-31 00:10:56 +0000 |
commit | 774c84770f88309c734efabe6cc7c6ce764809d7 (patch) | |
tree | e059351f850e853c8727893a2e69177c3297ad7a /libavcodec/apedec.c | |
parent | d83085cd5ae27cdf86e833f27f1878f952ff0147 (diff) | |
download | ffmpeg-774c84770f88309c734efabe6cc7c6ce764809d7.tar.gz |
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
Diffstat (limited to 'libavcodec/apedec.c')
-rw-r--r-- | libavcodec/apedec.c | 2 |
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; |