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:
parent
7305140a8a
commit
0a278f92e6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user