mirror of https://github.com/mpv-player/mpv
100l, demuxer info tags are _not_ case sensitive, so use strcasecmp.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29329 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
55f9c39e57
commit
b60e7f8ba5
|
@ -452,7 +452,7 @@ static char *get_demuxer_info (char *tag) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
for (n = 0; info[2*n] != NULL ; n++)
|
for (n = 0; info[2*n] != NULL ; n++)
|
||||||
if (!strcmp (info[2*n], tag))
|
if (!strcasecmp (info[2*n], tag))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
return info[2*n+1] ? strdup (info[2*n+1]) : NULL;
|
return info[2*n+1] ? strdup (info[2*n+1]) : NULL;
|
||||||
|
|
Loading…
Reference in New Issue