diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-07-02 01:39:14 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-07-03 13:21:42 +0200 |
commit | 838bd731393a29a41a86ff15ccf972f967306319 (patch) | |
tree | dc3861a36f6338bab0531b00aea8adfbcd77a2c4 /ffplay.c | |
parent | 5efbeae38cdcf8ed099be06f59fb422b5004e163 (diff) | |
download | ffmpeg-838bd731393a29a41a86ff15ccf972f967306319.tar.gz |
lavfi: create Libav-API compatibility layer for avfilter_graph_parse() at the next bump
Add function avfilter_graph_parse_ptr() and favor it in place of
avfilter_graph_parse(), which will be restored with the old/Libav
signature at the next bump.
If HAVE_INCOMPATIBLE_LIBAV_API is enabled it will use the
Libav-compatible signature for avfilter_graph_parse().
At the next major bump the current implementation of
avfilter_graph_parse() should be dropped in favor of the Libav/old
implementation.
Should address trac ticket #2672.
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1737,7 +1737,7 @@ static int configure_filtergraph(AVFilterGraph *graph, const char *filtergraph, inputs->pad_idx = 0; inputs->next = NULL; - if ((ret = avfilter_graph_parse(graph, filtergraph, &inputs, &outputs, NULL)) < 0) + if ((ret = avfilter_graph_parse_ptr(graph, filtergraph, &inputs, &outputs, NULL)) < 0) goto fail; } else { if ((ret = avfilter_link(source_ctx, 0, sink_ctx, 0)) < 0) |