diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-15 12:46:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-15 12:46:13 +0100 |
commit | 7eef45a76f82d0760a895f1970145b0d6c95abf2 (patch) | |
tree | fd9cb37ddfa62a4b2310a9b6f7a41fc5d165a9f6 /libavformat/id3v2.c | |
parent | 06ec2f1d321830e3a7dd24e3d0a10bd886c8c74b (diff) | |
download | ffmpeg-7eef45a76f82d0760a895f1970145b0d6c95abf2.tar.gz |
avformat/id3v2: Fix incompatible pointer type warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r-- | libavformat/id3v2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index df0d834bf2..09f3fbc432 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -614,7 +614,7 @@ fail: avio_seek(pb, end, SEEK_SET); } -static void read_chapter(AVFormatContext *s, AVIOContext *pb, int len, char *ttag, ID3v2ExtraMeta **extra_meta, int isv34) +static void read_chapter(AVFormatContext *s, AVIOContext *pb, int len, const char *ttag, ID3v2ExtraMeta **extra_meta, int isv34) { AVRational time_base = {1, 1000}; uint32_t start, end; @@ -678,7 +678,7 @@ static void free_priv(void *obj) } static void read_priv(AVFormatContext *s, AVIOContext *pb, int taglen, - char *tag, ID3v2ExtraMeta **extra_meta, int isv34) + const char *tag, ID3v2ExtraMeta **extra_meta, int isv34) { ID3v2ExtraMeta *meta; ID3v2ExtraMetaPRIV *priv; |