avfilter/avfilter: Add avfilter_filter_pad_count()

It is intended as replacement for avfilter_pad_count(). In contrast to
the latter, it avoids a loop.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2021-08-15 07:32:05 +02:00
parent 8be701d9f7
commit 7c5f998196
4 changed files with 14 additions and 1 deletions

View File

@@ -14,6 +14,9 @@ libavutil: 2021-04-27
API changes, most recent first:
2021-08-20 - xxxxxxxxxx - lavfi 8.3.100 - avfilter.H
Add avfilter_filter_pad_count() as a replacement for avfilter_pad_count().
2021-08-17 - xxxxxxxxxx - lavu 57.4.101 - opt.h
av_opt_copy() now guarantees that allocated src and dst options
don't alias each other even on error.