[FFmpeg-cvslog] r19424 - trunk/libavcodec/libtheoraenc.c

conrad subversion
Mon Jul 13 03:59:48 CEST 2009


Author: conrad
Date: Mon Jul 13 03:59:48 2009
New Revision: 19424

Log:
Fix "warning: assignment discards qualifiers from pointer target type"

Modified:
   trunk/libavcodec/libtheoraenc.c

Modified: trunk/libavcodec/libtheoraenc.c
==============================================================================
--- trunk/libavcodec/libtheoraenc.c	Mon Jul 13 03:59:45 2009	(r19423)
+++ trunk/libavcodec/libtheoraenc.c	Mon Jul 13 03:59:48 2009	(r19424)
@@ -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;
 



More information about the ffmpeg-cvslog mailing list