Mercurial > libavcodec.hg
changeset 6202:c82299110182 libavcodec
cast to correct type, fix warning: apedec.c:859: warning: passing argument 1 of 's->dsp.bswap_buf' from incompatible pointer type
author | bcoudurier |
---|---|
date | Thu, 31 Jan 2008 00:10:56 +0000 |
parents | 600f7baa119b |
children | c9433472cb95 |
files | apedec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/apedec.c Thu Jan 31 00:06:54 2008 +0000 +++ b/apedec.c Thu Jan 31 00:10:56 2008 +0000 @@ -856,7 +856,7 @@ 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;