Commit fd7bec5e authored by Måns Rullgård's avatar Måns Rullgård

ffserver: use av_stristr()

Originally committed as revision 22252 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ac6ef868
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment