diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-06 18:02:47 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-07 15:18:35 +0100 |
commit | fec3c730e6500b7e4ba6444bb23f83230a4996fa (patch) | |
tree | 491e710aa92ad8f7ca63a98fd4f049aac1c5555e /libavfilter/avfilter.c | |
parent | a7f841718ff93e3143f218cfdc27d1764024b0eb (diff) | |
download | ffmpeg-fec3c730e6500b7e4ba6444bb23f83230a4996fa.tar.gz |
avfilter/avfilter: Remove avfilter_link_set_closed() on bump
Deprecated in 39a09e995d32d16e4f8c87a6ff5273cb9d98146e.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index d560655f42..22ecad5f77 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -232,11 +232,12 @@ void ff_avfilter_link_set_out_status(AVFilterLink *link, int status, int64_t pts ff_filter_set_ready(link->src, 200); } +#if FF_API_FILTER_LINK_SET_CLOSED void avfilter_link_set_closed(AVFilterLink *link, int closed) { ff_avfilter_link_set_out_status(link, closed ? AVERROR_EOF : 0, AV_NOPTS_VALUE); } - +#endif int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, unsigned filt_srcpad_idx, unsigned filt_dstpad_idx) { |