summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_lavfi.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-04-11 03:21:14 -0700
committerwm4 <wm4@nowhere>2014-04-13 18:03:01 +0200
commit0a278f92e69963f64723ae70e24af040e6c04958 (patch)
tree0f180490e930c82ffb4e36a57985cb245e1a8f37 /video/filter/vf_lavfi.c
parent7305140a8ade58847d9e44cf4ebf5fd202b30892 (diff)
downloadmpv-0a278f92e69963f64723ae70e24af040e6c04958.tar.bz2
mpv-0a278f92e69963f64723ae70e24af040e6c04958.tar.xz
vf_lavfi: fix ffmpeg deprecation warning for avfilter_graph_parse
use avfilter_graph_parse_ptr for ffmpeg
Diffstat (limited to 'video/filter/vf_lavfi.c')
-rw-r--r--video/filter/vf_lavfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_lavfi.c b/video/filter/vf_lavfi.c
index 3d22817cb2..dde1547abf 100644
--- a/video/filter/vf_lavfi.c
+++ b/video/filter/vf_lavfi.c
@@ -54,7 +54,7 @@
avfilter_graph_parse(graph, filters, inputs, outputs, log_ctx)
#else
#define graph_parse(graph, filters, inputs, outputs, log_ctx) \
- avfilter_graph_parse(graph, filters, &(inputs), &(outputs), log_ctx)
+ avfilter_graph_parse_ptr(graph, filters, &(inputs), &(outputs), log_ctx)
#endif
struct vf_priv_s {