pb->buf_end is already set by url_open_buf()
authorAurelien Jacobs <aurel@gnuage.org>
Wed, 19 Dec 2007 23:29:26 +0000 (23:29 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Wed, 19 Dec 2007 23:29:26 +0000 (23:29 +0000)
Originally committed as revision 11277 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index 029b0958a85ff5a4f6d7603930462e53213f5a51..3e8ed7248dc3db06c6fe39abcdc6de493fd90610 100644 (file)
@@ -2438,7 +2438,6 @@ static int http_receive_data(HTTPContext *c)
             memset(&s, 0, sizeof(s));
 
             url_open_buf(&s.pb, c->buffer, c->buffer_end - c->buffer, URL_RDONLY);
-            s.pb->buf_end = c->buffer_end;        /* ?? */
             s.pb->is_streamed = 1;
 
             /* use feed output format name to find corresponding input format */