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

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


Hi,

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:
http://git.ffmpeg.org/?p=ffmpeg;a=commitdiff;h=c9a756948f691235cc1dd2cd82c6d3786e6b63da

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
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100621/2ff6788b/attachment.patch>



More information about the ffmpeg-devel mailing list