Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
3007:bec20ba1e194 | 3008:6eaceb561ae9 |
---|---|
562 put_byte(s->pb, size >> 14 & 0x7f); | 562 put_byte(s->pb, size >> 14 & 0x7f); |
563 put_byte(s->pb, size >> 7 & 0x7f); | 563 put_byte(s->pb, size >> 7 & 0x7f); |
564 put_byte(s->pb, size & 0x7f); | 564 put_byte(s->pb, size & 0x7f); |
565 } | 565 } |
566 | 566 |
567 static void id3v2_put_ttag(AVFormatContext *s, char *string, uint32_t tag) | 567 static void id3v2_put_ttag(AVFormatContext *s, const char *string, uint32_t tag) |
568 { | 568 { |
569 int len = strlen(string); | 569 int len = strlen(string); |
570 put_be32(s->pb, tag); | 570 put_be32(s->pb, tag); |
571 id3v2_put_size(s, len + 1); | 571 id3v2_put_size(s, len + 1); |
572 put_be16(s->pb, 0); | 572 put_be16(s->pb, 0); |