summaryrefslogtreecommitdiff
path: root/libavformat/gif.c
diff options
context:
space:
mode:
authorStefan Huehner <stefan@huehner.org>2006-06-17 15:53:23 +0000
committerDiego Biurrun <diego@biurrun.de>2006-06-17 15:53:23 +0000
commita97c1e93aa3c1fbb7cde0699b36ea9be466c6a52 (patch)
treefa39edd0203e307b8d730eec10e717b918f06c1f /libavformat/gif.c
parentc8e9f801762f325e155dacd424226fd0d382c591 (diff)
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 Originally committed as revision 5492 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/gif.c')
-rw-r--r--libavformat/gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gif.c b/libavformat/gif.c
index 34d01c49f9..f81a70def5 100644
--- a/libavformat/gif.c
+++ b/libavformat/gif.c
@@ -187,7 +187,7 @@ static int gif_image_write_header(ByteIOContext *pb,
/* 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 {