[FFmpeg-cvslog] r11841 - trunk/libavformat/nutenc.c

michael subversion
Mon Feb 4 01:26:43 CET 2008


Author: michael
Date: Mon Feb  4 01:26:43 2008
New Revision: 11841

Log:
Missing const found by -Wwrite-strings.


Modified:
   trunk/libavformat/nutenc.c

Modified: trunk/libavformat/nutenc.c
==============================================================================
--- trunk/libavformat/nutenc.c	(original)
+++ trunk/libavformat/nutenc.c	Mon Feb  4 01:26:43 2008
@@ -317,7 +317,7 @@ static int write_streamheader(NUTContext
     return 0;
 }
 
-static int add_info(ByteIOContext *bc, char *type, char *value){
+static int add_info(ByteIOContext *bc, const char *type, const char *value){
     put_str(bc, type);
     put_s(bc, -1);
     put_str(bc, value);




More information about the ffmpeg-cvslog mailing list