From 3e962f315b90dc99a49f8b293a24ed15cd105a26 Mon Sep 17 00:00:00 2001 From: David Conrad Date: Mon, 13 Jul 2009 01:59:48 +0000 Subject: [PATCH] Fix "warning: assignment discards qualifiers from pointer target type" Originally committed as revision 19424 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libtheoraenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libtheoraenc.c b/libavcodec/libtheoraenc.c index 04b8812882..9da0d19944 100644 --- a/libavcodec/libtheoraenc.c +++ b/libavcodec/libtheoraenc.c @@ -47,7 +47,7 @@ typedef struct TheoraContext{ */ static int concatenate_packet(unsigned int* offset, AVCodecContext* avc_context, const ogg_packet* packet) { - char* message = NULL; + const char* message = NULL; uint8_t* newdata = NULL; int newsize = avc_context->extradata_size + 2 + packet->bytes;