Signed-off-by: Stephan Holljes <klaxa1...@googlemail.com> --- lavfhttpd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lavfhttpd.c b/lavfhttpd.c index 3f29ec4..7c95001 100644 --- a/lavfhttpd.c +++ b/lavfhttpd.c @@ -21,6 +21,7 @@ #include "httpd.h" #include <libavutil/opt.h> +#include <libavformat/avformat.h> int lavfhttpd_init(void **server, struct HTTPDConfig config) @@ -57,13 +58,13 @@ int lavfhttpd_init(void **server, struct HTTPDConfig config) return 0; } -int lavfhttpd_accept(void *server, struct HTTPClient **client, int reply_code) +int lavfhttpd_accept(void *server, struct HTTPClient **client, const char **valid_files) { AVIOContext *server_ctx = (AVIOContext*) server; AVIOContext *client_ctx = NULL; struct HTTPClient *client_http = NULL; int ret, ret2, handshake; - int reply_code2 = reply_code; + int reply_code2 = 200; // = reply_code; char *method, *resource; if ((ret = avio_accept(server_ctx, &client_ctx)) < 0) { if (ret == AVERROR(ETIMEDOUT)) { -- 2.18.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel