Browse Source

lavf/oggparsevorbis: Use case-insensitive key compare for vorbis picture

Regression since 8d3630c540 where keys were changed
to not be touppered but the picture block strcmp was not changed to be case-insensitive.

Fixes ticket #8608.
tags/n4.3
Mattias Wadman Carl Eugen Hoyos 6 years ago
parent
commit
9d21d18ec3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/oggparsevorbis.c

+ 1
- 1
libavformat/oggparsevorbis.c View File

@@ -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);



Loading…
Cancel
Save