Mercurial > libavformat.hg
diff mp3.c @ 3008:6eaceb561ae9 libavformat
Another const found by -Wwrite-strings.
author | michael |
---|---|
date | Mon, 04 Feb 2008 01:01:52 +0000 |
parents | 51e0a502392f |
children | 1de87c1b6a12 |
line wrap: on
line diff
--- a/mp3.c Mon Feb 04 00:42:27 2008 +0000 +++ b/mp3.c Mon Feb 04 01:01:52 2008 +0000 @@ -564,7 +564,7 @@ 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);