This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 5b8889f4e8f734c64098f35f4f91c28315115e61 Author: Niklas Haas <[email protected]> AuthorDate: Sat Mar 7 01:15:06 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Mon Mar 9 12:01:51 2026 +0100 swscale/graph: add typedef for SwsPassSetup Signed-off-by: Niklas Haas <[email protected]> --- libswscale/graph.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libswscale/graph.h b/libswscale/graph.h index 5ffc069d5a..25aae12e4c 100644 --- a/libswscale/graph.h +++ b/libswscale/graph.h @@ -45,6 +45,12 @@ typedef struct SwsGraph SwsGraph; typedef void (*SwsPassFunc)(const SwsFrame *out, const SwsFrame *in, int y, int h, const SwsPass *pass); +/** + * Function to run from the main thread before processing any lines. + */ +typedef void (*SwsPassSetup)(const SwsFrame *out, const SwsFrame *in, + const SwsPass *pass); + /** * Represents an allocated output buffer for a filter pass. */ @@ -88,7 +94,7 @@ struct SwsPass { /** * Called once from the main thread before running the filter. Optional. */ - void (*setup)(const SwsFrame *out, const SwsFrame *in, const SwsPass *pass); + SwsPassSetup setup; /** * Optional private state and associated free() function. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
