diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 650dd596a4..e12e930924 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -450,7 +450,7 @@ static void read_apic(AVFormatContext *s, AVIOContext *pb, int taglen, char *tag /* mimetype */ taglen -= avio_get_str(pb, taglen, mimetype, sizeof(mimetype)); while (mime->id != AV_CODEC_ID_NONE) { - if (!strncmp(mime->str, mimetype, sizeof(mimetype))) { + if (!av_strncasecmp(mime->str, mimetype, sizeof(mimetype))) { id = mime->id; break; }