From a97c1e93aa3c1fbb7cde0699b36ea9be466c6a52 Mon Sep 17 00:00:00 2001 From: Stefan Huehner Date: Sat, 17 Jun 2006 15:53:23 +0000 Subject: 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 --- libavformat/gif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/gif.c') 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 { -- cgit v1.2.3