changeset 3010:0718b931314a libavformat

2 more missing consts found by -Wwrite-strings.
author michael
date Mon, 04 Feb 2008 01:06:04 +0000
parents 9fefe2df6756
children 0439b354e005
files movenc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Mon Feb 04 01:04:27 2008 +0000
+++ b/movenc.c	Mon Feb 04 01:06:04 2008 +0000
@@ -1194,7 +1194,7 @@
     return 0;
 }
 
-static int utf8len(uint8_t *b){
+static int utf8len(const uint8_t *b){
     int len=0;
     int val;
     while(*b){
@@ -1204,7 +1204,7 @@
     return len;
 }
 
-static int ascii_to_wc (ByteIOContext *pb, uint8_t *b)
+static int ascii_to_wc (ByteIOContext *pb, const uint8_t *b)
 {
     int val;
     while(*b){