[FFmpeg-devel] [Patch] Use Transfer-Encoding: chunked (and perhaps PUT) for HTTP uploads

Ronald S. Bultje rsbultje
Thu Jan 7 16:23:20 CET 2010


Hi,

On Thu, Jan 7, 2010 at 4:28 AM, Tomas H?rdin <tomas.hardin at codemill.se> wrote:
> By the way, since the return value of url_close() is never checked
> anywhere, and every protocol always returns zero (except this patch of
> course) then maybe url_close() should return void instead of int?

That's what I was thinking also. There is no reason that *_close()
would return anything else than OK. In posix and everywhere, close is
always void, and I don't think anyone ever checks it anyway.

Opinions? (Yes I realize this is an API change, so we'll put it under
an ifdef for the public parts.)

Ronald



More information about the ffmpeg-devel mailing list