diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-19 21:42:10 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-19 21:42:10 +0000 |
commit | 721052e981c4181eea9d167507ea2dd9c7ede4e2 (patch) | |
tree | 4572fe44007d42aca5ffcf6add143ffb0e65f110 /libavcodec/fraps.c | |
parent | e3cb2c4a088ef37bd7be2c75bb0db7824d443a1f (diff) | |
download | ffmpeg-721052e981c4181eea9d167507ea2dd9c7ede4e2.tar.gz |
Add casts to avoid warnings:
fraps.c:102: warning: passing argument 1 of ‘s->dsp.bswap_buf’ from incompatible pointer type
fraps.c:102: warning: passing argument 2 of ‘s->dsp.bswap_buf’ from incompatible pointer type
Originally committed as revision 12148 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fraps.c')
-rw-r--r-- | libavcodec/fraps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index 6043a23646..b7db219c99 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -99,7 +99,7 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w, /* we have built Huffman table and are ready to decode plane */ /* convert bits so they may be used by standard bitreader */ - s->dsp.bswap_buf(s->tmpbuf, src, size >> 2); + s->dsp.bswap_buf((uint32_t *)s->tmpbuf, (const uint32_t *)src, size >> 2); init_get_bits(&gb, s->tmpbuf, size * 8); for(j = 0; j < h; j++){ |