Originally committed as revision 12148 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger authored on 2008/02/20 06:42:10... | ... |
@@ -99,7 +99,7 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w, |
99 | 99 |
/* we have built Huffman table and are ready to decode plane */ |
100 | 100 |
|
101 | 101 |
/* convert bits so they may be used by standard bitreader */ |
102 |
- s->dsp.bswap_buf(s->tmpbuf, src, size >> 2); |
|
102 |
+ s->dsp.bswap_buf((uint32_t *)s->tmpbuf, (const uint32_t *)src, size >> 2); |
|
103 | 103 |
|
104 | 104 |
init_get_bits(&gb, s->tmpbuf, size * 8); |
105 | 105 |
for(j = 0; j < h; j++){ |