Missing const found by -Wwrite-strings.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 00:26:43 +0000 (00:26 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 00:26:43 +0000 (00:26 +0000)
Originally committed as revision 11841 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/nutenc.c

index 8d05377..bd326bc 100644 (file)
@@ -317,7 +317,7 @@ static int write_streamheader(NUTContext *nut, ByteIOContext *bc, AVCodecContext
     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);