diff options
author | wm4 <wm4@nowhere> | 2015-06-21 18:21:21 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-21 18:21:21 +0200 |
commit | dbbac7b3e18495faf137b3e7546676f947b48983 (patch) | |
tree | 404647f6beef0ab1467bc7d4c5127052ef41e07d /demux | |
parent | 0316f5514ec47530844eb1f680457417f93671d7 (diff) |
demux: mime types are case-insensitive
This one is used for demux_mf and for dmeux_mkv image attachments.
Diffstat (limited to 'demux')
-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]; } } |