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 /audio | |
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 'audio')
-rw-r--r-- | audio/filter/af_lavfi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/filter/af_lavfi.c b/audio/filter/af_lavfi.c index 616c5425e1..1e05e734a1 100644 --- a/audio/filter/af_lavfi.c +++ b/audio/filter/af_lavfi.c @@ -50,6 +50,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) |