Commit aa4cc8ba authored by michael's avatar michael

2 more missing consts found by -Wwrite-strings.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11849 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5067c2c1
......@@ -1194,7 +1194,7 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov,
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 @@ static int utf8len(uint8_t *b){
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){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment