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