Commit df7234d9 authored by reimar's avatar reimar

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12148 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e596e1bd
...@@ -99,7 +99,7 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w, ...@@ -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 */ /* we have built Huffman table and are ready to decode plane */
/* convert bits so they may be used by standard bitreader */ /* 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); init_get_bits(&gb, s->tmpbuf, size * 8);
for(j = 0; j < h; j++){ for(j = 0; j < h; j++){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment