diff options
-rw-r--r-- | demux/codec_tags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/codec_tags.c b/demux/codec_tags.c index 0b014276a5..c7b48f6038 100644 --- a/demux/codec_tags.c +++ b/demux/codec_tags.c @@ -108,7 +108,7 @@ const char *mp_map_mimetype_to_video_codec(const char *mimetype) { if (mimetype) { for (int n = 0; mimetype_to_codec[n][0]; n++) { - if (strcmp(mimetype_to_codec[n][0], mimetype) == 0) + if (strcasecmp(mimetype_to_codec[n][0], mimetype) == 0) return mimetype_to_codec[n][1]; } } |