[FFmpeg-cvslog] avformat/id3v2: Fix incompatible pointer type warnings

Michael Niedermayer git at videolan.org
Thu Jan 15 12:52:12 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jan 15 12:46:13 2015 +0100| [7eef45a76f82d0760a895f1970145b0d6c95abf2] | committer: Michael Niedermayer

avformat/id3v2: Fix incompatible pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7eef45a76f82d0760a895f1970145b0d6c95abf2
---

 libavformat/id3v2.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index df0d834..09f3fbc 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;



More information about the ffmpeg-cvslog mailing list