diff png.c @ 3347:82277c821113 libavcodec

Add const to (mostly) char* and make some functions static, which aren't used outside their declaring source file and which have no corresponding prototype. patch by Stefan Huehner stefan^^@^^huehner^^.^^org
author diego
date Sun, 18 Jun 2006 11:33:14 +0000
parents 8d1b2cc2a75b
children 20545fbb6f7c
line wrap: on
line diff
--- a/png.c	Sat Jun 17 18:46:06 2006 +0000
+++ b/png.c	Sun Jun 18 11:33:14 2006 +0000
@@ -346,7 +346,7 @@
 
     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;