# HG changeset patch # User alex # Date 1006439057 0 # Node ID 1207bd5de2b22e0759af664f2beda59d8798d4db # Parent 7eba9b3ac5a7bb07935fbb57ccdc953d9151d798 it wanted to be strcasecmp not strncmp and i dunno why it compiled for me with strncmp :( diff -r 7eba9b3ac5a7 -r 1207bd5de2b2 libmpdemux/demuxer.c --- a/libmpdemux/demuxer.c Thu Nov 22 10:20:09 2001 +0000 +++ b/libmpdemux/demuxer.c Thu Nov 22 14:24:17 2001 +0000 @@ -628,7 +628,7 @@ { demuxer_info_t *info = &demuxer->info; - if (!strcmp(opt, "name")) + if (!strcasecmp(opt, "name")) { if (info->name) { @@ -640,7 +640,7 @@ return(1); } - if (!strcmp(opt, "author")) + if (!strcasecmp(opt, "author")) { if (info->author) { @@ -652,7 +652,7 @@ return(1); } - if (!strcmp(opt, "encoder")) + if (!strcasecmp(opt, "encoder")) { if (info->encoder) { @@ -664,7 +664,7 @@ return(1); } - if (!strcmp(opt, "comments")) + if (!strcasecmp(opt, "comments")) { if (info->comments) {