[FFmpeg-cvslog] r22175 - trunk/ffserver.c

Michael Kostylev michael.kostylev
Fri Mar 5 15:49:37 CET 2010


On Thu Mar  4 09:53:31 2010
Ronald S. Bultje wrote:

>>> + ? ?c->chunked_encoding = !!strcasestr(c->buffer, "Transfer-Encoding: chunked");
>>
>> strcasestr() is missing in POSIX as well as in the SunOS libc.
> 
> Oh boy there we go again. Can you implement a replacement or is there
> another call I can use instead?

do {
  if (found = av_stristart(buffer, header, NULL)) break;
  if (!(buffer = strchr(buffer, '\n'))) break;
} while (++buffer);

Michael



More information about the ffmpeg-cvslog mailing list