changeset 29287:8b0f2c4971f4

100l, demuxer info tags are _not_ case sensitive, so use strcasecmp.
author reimar
date Sat, 30 May 2009 13:15:53 +0000
parents da50918c96e8
children 4a1c217a844b
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu May 28 15:53:27 2009 +0000
+++ b/mplayer.c	Sat May 30 13:15:53 2009 +0000
@@ -452,7 +452,7 @@
     return NULL;
 
   for (n = 0; info[2*n] != NULL ; n++)
-    if (!strcmp (info[2*n], tag))
+    if (!strcasecmp (info[2*n], tag))
       break;
 
   return info[2*n+1] ? strdup (info[2*n+1]) : NULL;