]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/png.c
Explicitly include fastmemcpy.h from libvo/.
[ffmpeg] / libavcodec / png.c
index c96638c2d86dae9313a67d15510f60fd6fd77ed9..efe4cdf4ffe717500d8aa6a03654056646855807 100644 (file)
@@ -346,7 +346,7 @@ static void convert_from_rgba32(uint8_t *dst, const uint8_t *src, int width)
 
     d = dst;
     for(j = 0; j < width; j++) {
-        v = ((uint32_t *)src)[j];
+        v = ((const uint32_t *)src)[j];
         d[0] = v >> 16;
         d[1] = v >> 8;
         d[2] = v;