[libav-devel] [PATCH 1/2] Replace all usage of strcasecmp/strncasecmp
lu_zero at gentoo.org
Fri Nov 4 17:40:34 CET 2011
On 11/4/11 9:28 AM, Måns Rullgård wrote:
> Write it in a non-ugly way of course.
Let me expand:
- the strcasecmp/strncasecmp itself isn't much different than the usual
libc implementation, the toupper can enjoy a better implementation (to
be noted that in all libc I had a look into strcase uses tolower).
- we can pick any tolower macro implementation from a libc with a
acceptable license instead of reinventing the wheel.
More information about the libav-devel