[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.47,1.48

Alex Beregszaszi alex at mplayer.dev.hu
Thu Nov 22 15:24:20 CET 2001


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv17601

Modified Files:
	demuxer.c 
Log Message:
it wanted to be strcasecmp not strncmp and i dunno why it compiled for me with strncmp :(

Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- demuxer.c	21 Nov 2001 22:56:38 -0000	1.47
+++ demuxer.c	22 Nov 2001 14:24:17 -0000	1.48
@@ -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)
 	{




More information about the MPlayer-cvslog mailing list