diff gif.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 e89500dd9064
line wrap: on
line diff
--- a/gif.c	Fri Jun 16 20:45:29 2006 +0000
+++ b/gif.c	Sat Jun 17 15:53:23 2006 +0000
@@ -187,7 +187,7 @@
 
     /* the global palette */
     if (!palette) {
-        put_buffer(pb, (unsigned char *)gif_clut, 216*3);
+        put_buffer(pb, (const unsigned char *)gif_clut, 216*3);
         for(i=0;i<((256-216)*3);i++)
             put_byte(pb, 0);
     } else {