1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

it wanted to be strcasecmp not strncmp and i dunno why it compiled for me with strncmp :(

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3068 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2001-11-22 14:24:17 +00:00
parent 6b473dc297
commit 90f85a70c3

View File

@ -628,7 +628,7 @@ int demux_info_add(demuxer_t *demuxer, char *opt, char *param)
{
demuxer_info_t *info = &demuxer->info;
if (!strcmp(opt, "name"))
if (!strcasecmp(opt, "name"))
{
if (info->name)
{
@ -640,7 +640,7 @@ int demux_info_add(demuxer_t *demuxer, char *opt, char *param)
return(1);
}
if (!strcmp(opt, "author"))
if (!strcasecmp(opt, "author"))
{
if (info->author)
{
@ -652,7 +652,7 @@ int demux_info_add(demuxer_t *demuxer, char *opt, char *param)
return(1);
}
if (!strcmp(opt, "encoder"))
if (!strcasecmp(opt, "encoder"))
{
if (info->encoder)
{
@ -664,7 +664,7 @@ int demux_info_add(demuxer_t *demuxer, char *opt, char *param)
return(1);
}
if (!strcmp(opt, "comments"))
if (!strcasecmp(opt, "comments"))
{
if (info->comments)
{