[FFmpeg-devel] [PATCH] HTTP: Simplify the handling of chunked vs non-chunked posts

Martin Storsjö martin
Mon Jun 21 10:45:51 CEST 2010


This simplifies some code in the http protocol, and makes the comments 
actually reflect what the code does.

The code in http_write could also be written back to the much more compact 
form that it had before this commit, if that is preferred:

This comes from the fact that we can use the chunksize == -1 code branch 
above that segment, which was missed in the review of this code initially.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Simplify-handling-of-chunked-vs-non-chunked-http-pos.patch
Type: text/x-diff
Size: 1987 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100621/2ff6788b/attachment.patch>

More information about the ffmpeg-devel mailing list