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 029b095..3e8ed72 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);
             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 */
             s.pb->is_streamed = 1;
 
             /* use feed output format name to find corresponding input format */