diff nutenc.c @ 3004:327814e7bf03 libavformat

Missing const found by -Wwrite-strings.
author michael
date Mon, 04 Feb 2008 00:26:43 +0000
parents 7e246e837176
children 66fb9d4dea91
line wrap: on
line diff
--- a/nutenc.c	Sun Feb 03 11:18:53 2008 +0000
+++ b/nutenc.c	Mon Feb 04 00:26:43 2008 +0000
@@ -317,7 +317,7 @@
     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);