[Ffmpeg-devel] [PATCH] close connection on end-of-file
Mon Mar 12 15:51:23 CET 2007
On Mon, Mar 12, 2007 at 03:17:05AM +0100, Michael Niedermayer wrote:
> On Sun, Mar 11, 2007 at 07:53:56PM -0400, Ronald S. Bultje wrote:
> > And thanks to this comment, I was actually able to figure out why that
> > happened as well. The content-length is actually correct, however, I
> > don't update s->filesize in process_line() b/c it is not -1 (this
> > condition is there so we prefer the Content-Range over the
> > Content-Length) since we don't clean out the struct (basically an
> > "uninitialized var").
> > Attached patch fixes this.
> looks ok
Applied. I've used
Properly initialize filesize during input buffer initialization.
as commit message, which I'd gladly replace by a better description if
somebody gives one to me.
More information about the ffmpeg-devel