1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00

vf_lavfi: fix ffmpeg deprecation warning for avfilter_graph_parse

use avfilter_graph_parse_ptr for ffmpeg
This commit is contained in:
Kevin Mitchell 2014-04-11 03:21:14 -07:00 committed by wm4
parent 7305140a8a
commit 0a278f92e6

View File

@ -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 {