diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-06 19:41:24 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-06 19:41:24 +0000 |
commit | fd7bec5e3c041e1f25eb437eaffe179d6e2d8217 (patch) | |
tree | d7af3299ffcd1e86d1aaadbfb597b00c4230e776 /ffserver.c | |
parent | ac6ef8682d1fe8afa9f0a3fcc9eadbad1c903937 (diff) | |
download | ffmpeg-fd7bec5e3c041e1f25eb437eaffe179d6e2d8217.tar.gz |
ffserver: use av_stristr()
Originally committed as revision 22252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 9a53e4950e..3563468338 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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; } |