Replace all strcasecmp/strncasecmp usages.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 2 Nov 2011 19:17:25 +0000 (20:17 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 3 Nov 2011 18:25:26 +0000 (19:25 +0100)
commit96949dafcca87f65902bd77a0bc56007d9cead70
treee394623e56efc86b70d3e7fbdefc2555457b3aa3
parent475fb67d0b391ad1e8e3e8e3d65d7e6892e17e7a
Replace all strcasecmp/strncasecmp usages.

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: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
18 files changed:
doc/APIchanges
libavdevice/v4l2.c
libavfilter/libmpcodecs/vf_palette.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/avstring.c
libavutil/avstring.h
libavutil/internal.h
libavutil/parseutils.c