[FFmpeg-cvslog] r11849 - trunk/libavformat/movenc.c

michael subversion
Mon Feb 4 02:06:04 CET 2008


Author: michael
Date: Mon Feb  4 02:06:04 2008
New Revision: 11849

Log:
2 more missing consts found by -Wwrite-strings.


Modified:
   trunk/libavformat/movenc.c

Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c	(original)
+++ trunk/libavformat/movenc.c	Mon Feb  4 02:06:04 2008
@@ -1194,7 +1194,7 @@ static int mov_write_udta_tag(ByteIOCont
     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){




More information about the ffmpeg-cvslog mailing list