diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-08-05 10:49:18 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-08-15 19:27:01 +0200 |
commit | 54754eec1e4b4882e7bbe1fbf4374c11d955eb36 (patch) | |
tree | c0c87f01fd703e01dec9a4c81010c7f1fb86d63e /libavfilter/avfilter_internal.h | |
parent | 426e33c75853c395b39e216e7ecde0103ff48086 (diff) | |
download | ffmpeg-54754eec1e4b4882e7bbe1fbf4374c11d955eb36.tar.gz |
lavfi: add a new struct for private link properties
Specifically those that should be visible to filters, but hidden from
API callers. Such properties are currently located at the end of the
public AVFilterLink struct, demarcated by a comment marking them as
private. However it is generally better to hide them explicitly, using
the same pattern already employed in avformat or avcodec.
The new struct is currently trivial, but will become more useful in
following commits.
Diffstat (limited to 'libavfilter/avfilter_internal.h')
-rw-r--r-- | libavfilter/avfilter_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/avfilter_internal.h b/libavfilter/avfilter_internal.h index 2c31c3e7de..7084411d68 100644 --- a/libavfilter/avfilter_internal.h +++ b/libavfilter/avfilter_internal.h @@ -28,10 +28,11 @@ #include <stdint.h> #include "avfilter.h" +#include "filters.h" #include "framequeue.h" typedef struct FilterLinkInternal { - AVFilterLink l; + FilterLink l; struct FFFramePool *frame_pool; |