ffserver: use av_stristr()

Originally committed as revision 22252 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-03-06 19:41:24 +00:00
parent ac6ef8682d
commit fd7bec5e3c

View File

@ -2442,7 +2442,7 @@ static int http_start_receive_data(HTTPContext *c)
c->buffer_ptr = c->buffer;
c->buffer_end = c->buffer + FFM_PACKET_SIZE;
c->stream->feed_opened = 1;
c->chunked_encoding = !!strcasestr(c->buffer, "Transfer-Encoding: chunked");
c->chunked_encoding = !!av_stristr(c->buffer, "Transfer-Encoding: chunked");
return 0;
}