diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-04 01:06:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-04 01:06:04 +0000 |
commit | f70eccdb39feb9788d4b43e6e0d5972b85edbe74 (patch) | |
tree | 6b097c437e039d6c829a37c758fd3d97a0b69d9c | |
parent | 37e4979a2cb6a21a5571a470f207ba09e6d55bf4 (diff) | |
download | ffmpeg-f70eccdb39feb9788d4b43e6e0d5972b85edbe74.tar.gz |
2 more missing consts found by -Wwrite-strings.
Originally committed as revision 11849 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/movenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index ce71419ad2..13406dad00 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -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){ |