Browse code

ffserver: use av_stristr()

Originally committed as revision 22252 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2010/03/07 04:41:24
Showing 1 changed files
... ...
@@ -2442,7 +2442,7 @@ static int http_start_receive_data(HTTPContext *c)
2442 2442
     c->buffer_ptr = c->buffer;
2443 2443
     c->buffer_end = c->buffer + FFM_PACKET_SIZE;
2444 2444
     c->stream->feed_opened = 1;
2445
-    c->chunked_encoding = !!strcasestr(c->buffer, "Transfer-Encoding: chunked");
2445
+    c->chunked_encoding = !!av_stristr(c->buffer, "Transfer-Encoding: chunked");
2446 2446
     return 0;
2447 2447
 }
2448 2448