summaryrefslogtreecommitdiff
path: root/libavformat/id3v2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-12 13:43:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-12 13:43:03 +0200
commitd0bf3bf1ffaf810d8e0737847666a9b86ea5929f (patch)
treebc4e81051e590e5d33b401b6488ce381a37c6151 /libavformat/id3v2.c
parent6fd7bf7b03c068d0f91de03bdd9b4e91695680eb (diff)
parentbdefe22b8e8c5c1cbcb20595b8eedc052aa8e6e9 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: lavf: Detect discontinuities in timestamps for framerate/analyzeduration calculation lavf: Initialize the stream info timestamps in avformat_new_stream id3v2: Match PIC mimetype/format case-insensitively configure: Rename check_asm() to more fitting check_inline_asm() fate: Only test enabled filters avresample: De-doxygenize some comments where Doxygen is not appropriate rtmp: split chunk_size var into in_chunk_size and out_chunk_size rtmp: Factorize the code by adding find_tracked_method Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r--libavformat/id3v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 0cfa5792bb..f9b5b0354f 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -462,7 +462,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;
}