diff options
author | Mattias Wadman <mattias.wadman@gmail.com> | 2020-04-11 12:56:21 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2020-04-11 12:56:21 +0200 |
commit | 9d21d18ec3ca2721e989fd4522d19bd90d6ac2db (patch) | |
tree | db7c26aa1706b490347f248e3ac9daba86937ff5 /libavformat/oggparsevorbis.c | |
parent | 99360990a916896421cb4173ba7bd8ce8878e4b5 (diff) | |
download | ffmpeg-9d21d18ec3ca2721e989fd4522d19bd90d6ac2db.tar.gz |
lavf/oggparsevorbis: Use case-insensitive key compare for vorbis picture
Regression since 8d3630c5402fdda2889fe4f74f7dcdd50ebca654 where keys were changed
to not be touppered but the picture block strcmp was not changed to be case-insensitive.
Fixes ticket #8608.
Diffstat (limited to 'libavformat/oggparsevorbis.c')
-rw-r--r-- | libavformat/oggparsevorbis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c index 8dd27e7770..27d2c686b6 100644 --- a/libavformat/oggparsevorbis.c +++ b/libavformat/oggparsevorbis.c @@ -151,7 +151,7 @@ int ff_vorbis_comment(AVFormatContext *as, AVDictionary **m, * 'METADATA_BLOCK_PICTURE'. This is the preferred and * recommended way of embedding cover art within VorbisComments." */ - if (!strcmp(tt, "METADATA_BLOCK_PICTURE") && parse_picture) { + if (!av_strcasecmp(tt, "METADATA_BLOCK_PICTURE") && parse_picture) { int ret, len = AV_BASE64_DECODE_SIZE(vl); char *pict = av_malloc(len); |