Re: [FFmpeg-devel] [PATCH 2/2] lavf/http: Rework http_write_reply()

2015-08-21 Thread Stephan Holljes
This version is buggy. It adds an extra newline after the headers when sending a reply with a body. New patch shortly. Regards, Stephan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 2/2] lavf/http: Rework http_write_reply()

2015-08-20 Thread Stephan Holljes
Add error codes 301 and 503, make replies more customizable and use AVBPrint for strings. Signed-off-by: Stephan Holljes --- libavformat/http.c | 75 +- 1 file changed, 63 insertions(+), 12 deletions(-) diff --git a/libavformat/http.c b/libavf