avfilter/avfilter: Move frame_pool to FilterLinkInternal

Avoids ugly casts when uninitializing.
(One could actually avoid allocating this separately if one
were willing to expose FFFramePool to those files including
link_internal.h.)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2024-02-14 18:14:48 +01:00
parent 4a7329994a
commit 32538dafca
5 changed files with 27 additions and 26 deletions

View File

@@ -33,6 +33,8 @@
typedef struct FilterLinkInternal {
AVFilterLink l;
struct FFFramePool *frame_pool;
/**
* Queue of frames waiting to be filtered.
*/