diff libmpdemux/demuxer.c @ 3067:1207bd5de2b2

it wanted to be strcasecmp not strncmp and i dunno why it compiled for me with strncmp :(
author alex
date Thu, 22 Nov 2001 14:24:17 +0000
parents e061769cc742
children a5f378f982cc
line wrap: on
line diff
--- 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)
 	{