Showing the changes to libavfilter/avfiltergraph.c (1 of 20 files). Show all
Unified · Split
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/avstring.h" |
| 29 | 29 | #include "libavutil/channel_layout.h" |
| 30 | 30 | #include "libavutil/common.h" |
| 31 | +#include "libavutil/internal.h" | |
| 31 | 32 | #include "libavutil/log.h" |
| 32 | 33 | #include "libavutil/opt.h" |
| 33 | 34 | |
| @@ -127,7 +128,9 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter) · 93 unmodified lines | ||
| 127 | 128 | graph->filters[graph->nb_filters++] = filter; |
| 128 | 129 | |
| 129 | 130 | #if FF_API_FOO_COUNT |
| 131 | +FF_DISABLE_DEPRECATION_WARNINGS | |
| 130 | 132 | graph->filter_count = graph->nb_filters; |
| 133 | +FF_ENABLE_DEPRECATION_WARNINGS | |
| 131 | 134 | #endif |
| 132 | 135 | |
| 133 | 136 | filter->graph = graph; |
| @@ -187,7 +190,9 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph, · 53 unmodified lines | ||
| 187 | 190 | graph->filters[graph->nb_filters++] = s; |
| 188 | 191 | |
| 189 | 192 | #if FF_API_FOO_COUNT |
| 193 | +FF_DISABLE_DEPRECATION_WARNINGS | |
| 190 | 194 | graph->filter_count = graph->nb_filters; |
| 195 | +FF_ENABLE_DEPRECATION_WARNINGS | |
| 191 | 196 | #endif |
| 192 | 197 | |
| 193 | 198 | s->graph = graph; |