changeset 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 7eba9b3ac5a7
children 572a94255d1e
files libmpdemux/demuxer.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
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)
 	{