changeset 3008:6eaceb561ae9 libavformat

Another const found by -Wwrite-strings.
author michael
date Mon, 04 Feb 2008 01:01:52 +0000
parents bec20ba1e194
children 9fefe2df6756
files mp3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);