Replace all usage of strcasecmp/strncasecmp
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 2 Nov 2011 19:17:25 +0000 (20:17 +0100)
committerMartin Storsjö <martin@martin.st>
Sun, 6 Nov 2011 09:52:57 +0000 (11:52 +0200)
commitbb3244dee26e3c500b14830e9500cb2d3658f809
tree197235a2c136636ffbeab1464e51a87963ea6e36
parentba04ecfdacec4cf86e74b43fe8bcc09e06bb7a72
Replace all usage of strcasecmp/strncasecmp

All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.

Instead use our own implementations that always treat the data
as ASCII.

Signed-off-by: Martin Storsjö <martin@martin.st>
14 files changed:
avserver.c
libavdevice/v4l2.c
libavformat/avidec.c
libavformat/http.c
libavformat/img2.c
libavformat/matroskaenc.c
libavformat/metadata.c
libavformat/mp3enc.c
libavformat/nutdec.c
libavformat/rtpdec.c
libavformat/rtpdec_mpeg4.c
libavformat/rtsp.c
libavformat/utils.c
libavutil/parseutils.c