summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-22 20:53:52 +0100
committerwm4 <wm4@nowhere>2016-01-22 20:53:52 +0100
commit2e3a508387ca7a6507444910e8393ff3db1c072f (patch)
tree6dc32788dd7bc2b088fc5dd72446b9861ce2a240 /audio
parentf176104ed5c7be37f4f0756b7244cbb90c4fe1fe (diff)
downloadmpv-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.c1
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)