avfilter/avfilter: Move init_state to FilterLinkInternal

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2024-02-14 16:43:35 +01:00
parent 89eea4e19a
commit 40b91eaea9
3 changed files with 11 additions and 10 deletions

View File

@@ -63,6 +63,13 @@ typedef struct FilterLinkInternal {
* corresponding code.
*/
int status_out;
/** stage of the initialization of the link properties (dimensions, etc) */
enum {
AVLINK_UNINIT = 0, ///< not started
AVLINK_STARTINIT, ///< started, but incomplete
AVLINK_INIT ///< complete
} init_state;
} FilterLinkInternal;
static inline FilterLinkInternal *ff_link_internal(AVFilterLink *link)