Mercurial > mplayer.hg
comparison mplayer.c @ 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 | 0f1b5b68af32 |
children | 6825c69f6d84 |
comparison
equal
deleted
inserted
replaced
29286:da50918c96e8 | 29287:8b0f2c4971f4 |
---|---|
450 | 450 |
451 if (!info || !tag) | 451 if (!info || !tag) |
452 return NULL; | 452 return NULL; |
453 | 453 |
454 for (n = 0; info[2*n] != NULL ; n++) | 454 for (n = 0; info[2*n] != NULL ; n++) |
455 if (!strcmp (info[2*n], tag)) | 455 if (!strcasecmp (info[2*n], tag)) |
456 break; | 456 break; |
457 | 457 |
458 return info[2*n+1] ? strdup (info[2*n+1]) : NULL; | 458 return info[2*n+1] ? strdup (info[2*n+1]) : NULL; |
459 } | 459 } |
460 | 460 |