aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-27 18:36:51 +0100
committerDiego Biurrun <diego@biurrun.de>2013-08-02 19:19:02 +0200
commit7950e519bb094897f957b9a9531cc60ba46cbc91 (patch)
treeb8bcd2acc2a699c2c219e690d439a3f3eb0a6a44 /libavfilter/avfiltergraph.c
parent3a7050ffed5ce061b114a11e4de4b77aba8efa0b (diff)
downloadffmpeg-7950e519bb094897f957b9a9531cc60ba46cbc91.tar.gz
Disable deprecation warnings for cases where a replacement is available
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index e93a5bb415..236980ff18 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -28,6 +28,7 @@
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
+#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
@@ -127,7 +128,9 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
graph->filters[graph->nb_filters++] = filter;
#if FF_API_FOO_COUNT
+FF_DISABLE_DEPRECATION_WARNINGS
graph->filter_count = graph->nb_filters;
+FF_ENABLE_DEPRECATION_WARNINGS
#endif
filter->graph = graph;
@@ -187,7 +190,9 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
graph->filters[graph->nb_filters++] = s;
#if FF_API_FOO_COUNT
+FF_DISABLE_DEPRECATION_WARNINGS
graph->filter_count = graph->nb_filters;
+FF_ENABLE_DEPRECATION_WARNINGS
#endif
s->graph = graph;