mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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…
x
Reference in New Issue
Block a user