Deprecated in 39a09e995d32d16e4f8c87a6ff5273cb9d98146e.
Showing the changes to libavfilter/avfilter.c (1 of 3 files). Show all
Unified · Split
| @@ -232,11 +232,12 @@ void ff_avfilter_link_set_out_status(AVFilterLink *link, int status, int64_t pts · 231 unmodified lines | ||
| 232 | 232 | ff_filter_set_ready(link->src, 200); |
| 233 | 233 | } |
| 234 | 234 | |
| 235 | +#if FF_API_FILTER_LINK_SET_CLOSED | |
| 235 | 236 | void avfilter_link_set_closed(AVFilterLink *link, int closed) |
| 236 | 237 | { |
| 237 | 238 | ff_avfilter_link_set_out_status(link, closed ? AVERROR_EOF : 0, AV_NOPTS_VALUE); |
| 238 | 239 | } |
| 239 | − | |
| 240 | +#endif | |
| 240 | 241 | int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, |
| 241 | 242 | unsigned filt_srcpad_idx, unsigned filt_dstpad_idx) |
| 242 | 243 | { |