From 2e3a508387ca7a6507444910e8393ff3db1c072f Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 22 Jan 2016 20:53:52 +0100 Subject: af_lavfi, vf_lavfi: fix compilation on Libav It has no avfilter_graph_send_command(). --- video/filter/vf_lavfi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video/filter/vf_lavfi.c') diff --git a/video/filter/vf_lavfi.c b/video/filter/vf_lavfi.c index 8cfd27a7bd..a66bd2a971 100644 --- a/video/filter/vf_lavfi.c +++ b/video/filter/vf_lavfi.c @@ -56,6 +56,7 @@ #if LIBAVFILTER_VERSION_MICRO < 100 #define graph_parse(graph, filters, inputs, outputs, log_ctx) \ avfilter_graph_parse(graph, filters, inputs, outputs, log_ctx) +#define avfilter_graph_send_command(a, b, c, d, e, f, g) -1 #else #define graph_parse(graph, filters, inputs, outputs, log_ctx) \ avfilter_graph_parse_ptr(graph, filters, &(inputs), &(outputs), log_ctx) -- cgit v1.2.3