From 90f85a70c302a9afcb363ac9243f3729648d898a Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 22 Nov 2001 14:24:17 +0000 Subject: 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 --- libmpdemux/demuxer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libmpdemux/demuxer.c') diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c index af295d821a..c60a40f7fd 100644 --- a/libmpdemux/demuxer.c +++ b/libmpdemux/demuxer.c @@ -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) { -- cgit v1.2.3