diff options
author | wm4 <wm4@nowhere> | 2016-01-22 20:53:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-22 20:53:52 +0100 |
commit | 2e3a508387ca7a6507444910e8393ff3db1c072f (patch) | |
tree | 6dc32788dd7bc2b088fc5dd72446b9861ce2a240 /video | |
parent | f176104ed5c7be37f4f0756b7244cbb90c4fe1fe (diff) | |
download | mpv-2e3a508387ca7a6507444910e8393ff3db1c072f.tar.bz2 mpv-2e3a508387ca7a6507444910e8393ff3db1c072f.tar.xz |
af_lavfi, vf_lavfi: fix compilation on Libav
It has no avfilter_graph_send_command().
Diffstat (limited to 'video')
-rw-r--r-- | video/filter/vf_lavfi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |