diff png.c @ 1123:6992dd78ff68 libavformat

Add (mostly) const to variable and parameter declaration, where a char* was used and 'const char*' should be, plus make some function declarations static if they aren't used outside their declaring source file. patch by Stefan Huehner stefan%%at%%huehner%%dot%%org
author diego
date Sat, 17 Jun 2006 15:53:23 +0000
parents edbe5c3717f9
children 0899bfe4105c
line wrap: on
line diff
--- a/png.c	Fri Jun 16 20:45:29 2006 +0000
+++ b/png.c	Sat Jun 17 15:53:23 2006 +0000
@@ -326,7 +326,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;