2 more missing consts found by -Wwrite-strings.

Originally committed as revision 11849 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-02-04 01:06:04 +00:00
parent 37e4979a2c
commit f70eccdb39
1 changed files with 2 additions and 2 deletions

View File

@ -1194,7 +1194,7 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov,
return 0; return 0;
} }
static int utf8len(uint8_t *b){ static int utf8len(const uint8_t *b){
int len=0; int len=0;
int val; int val;
while(*b){ while(*b){
@ -1204,7 +1204,7 @@ static int utf8len(uint8_t *b){
return len; 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; int val;
while(*b){ while(*b){