mirror of https://git.ffmpeg.org/ffmpeg.git
ffserver: use av_stristr()
Originally committed as revision 22252 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ac6ef8682d
commit
fd7bec5e3c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue