From 8df94c73dc3b2f0fea6b83ca64d726423df841d5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 4 Feb 2008 01:01:52 +0000 Subject: Another const found by -Wwrite-strings. Originally committed as revision 11847 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mp3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mp3.c b/libavformat/mp3.c index 5d6af0f9b6..64e0ce285a 100644 --- a/libavformat/mp3.c +++ b/libavformat/mp3.c @@ -564,7 +564,7 @@ static void id3v2_put_size(AVFormatContext *s, int size) put_byte(s->pb, size & 0x7f); } -static void id3v2_put_ttag(AVFormatContext *s, char *string, uint32_t tag) +static void id3v2_put_ttag(AVFormatContext *s, const char *string, uint32_t tag) { int len = strlen(string); put_be32(s->pb, tag); -- cgit v1.2.3