[FFmpeg-cvslog] http: header field names are case insensitive

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Mar 29 20:05:37 CEST 2011


On Tue, Mar 29, 2011 at 03:09:38AM +0200, Tyler wrote:
> diff --git a/libavformat/http.c b/libavformat/http.c
> index 2b034a1..9b3d606 100644
> --- a/libavformat/http.c
> +++ b/libavformat/http.c
> @@ -246,12 +246,12 @@ static int process_line(URLContext *h, char *line, int line_count,
>          p++;
>          while (isspace(*p))
>              p++;
> -        if (!strcmp(tag, "Location")) {
> +        if (!strcasecmp(tag, "Location")) {

Is anyone working on replacing strcasecmp?
Otherwise I might try to find time.
I think we are being very unkind to all our turkish users by just using
strcasecmp.


More information about the ffmpeg-cvslog mailing list