[FFmpeg-devel] [PATCH 3/5] ffserver: Implement http interface and implementation

2018-05-12 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- httpd.h | 58 +++ lavfhttpd.c | 153 2 files changed, 211 insertions(+) create mode 100644 httpd.h create mode 100644 lavfhttpd.c diff --git a/httpd.h b/httpd.h new file mod

Re: [FFmpeg-devel] [PATCH 3/5] ffserver: Implement http interface and implementation

2018-05-11 Thread Stephan Holljes
On Fri, May 11, 2018 at 2:39 PM, Moritz Barsnick wrote: > On Thu, May 10, 2018 at 17:41:24 +0200, Stephan Holljes wrote: >> +while ((handshake = avio_handshake(client_ctx)) > 0) { >> +av_opt_get(client_ctx, "method", AV_OPT_SEARCH_CHILDREN, &method); >> +av_opt_get(client_ctx,

Re: [FFmpeg-devel] [PATCH 3/5] ffserver: Implement http interface and implementation

2018-05-11 Thread Moritz Barsnick
On Thu, May 10, 2018 at 17:41:24 +0200, Stephan Holljes wrote: > +while ((handshake = avio_handshake(client_ctx)) > 0) { > +av_opt_get(client_ctx, "method", AV_OPT_SEARCH_CHILDREN, &method); > +av_opt_get(client_ctx, "resource", AV_OPT_SEARCH_CHILDREN, > &resource); Cast the l

[FFmpeg-devel] [PATCH 3/5] ffserver: Implement http interface and implementation

2018-05-10 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- httpd.h | 58 +++ lavfhttpd.c | 150 2 files changed, 208 insertions(+) create mode 100644 httpd.h create mode 100644 lavfhttpd.c diff --git a/httpd.h b/httpd.h new file mod