changeset 3004:327814e7bf03 libavformat

Missing const found by -Wwrite-strings.
author michael
date Mon, 04 Feb 2008 00:26:43 +0000
parents 532809e27981
children d1a8a747d85f
files nutenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);