summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-04 01:01:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-04 01:01:52 +0000
commit8df94c73dc3b2f0fea6b83ca64d726423df841d5 (patch)
tree90a2ea36e1b4649ae8b6b6bf7e69d390416e78c7
parent1701cbfafcc12e7550892995a7a33b4f46f9618b (diff)
Another const found by -Wwrite-strings.
Originally committed as revision 11847 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mp3.c2
1 files changed, 1 insertions, 1 deletions
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);