This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 254c07bf604dc738c39290a07b1f7be6c489b302 Author: Niklas Haas <[email protected]> AuthorDate: Sat Mar 7 00:54:15 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Mon Mar 9 12:01:51 2026 +0100 swscale/graph: rename sws_filter_run_t to SwsPassFunc This name is weirdly out-of-place in the libswscale naming convention. Signed-off-by: Niklas Haas <[email protected]> --- libswscale/graph.c | 2 +- libswscale/graph.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libswscale/graph.c b/libswscale/graph.c index efa78940b3..4cc6e031c9 100644 --- a/libswscale/graph.c +++ b/libswscale/graph.c @@ -106,7 +106,7 @@ static void free_buffer(AVRefStructOpaque opaque, void *obj) int ff_sws_graph_add_pass(SwsGraph *graph, enum AVPixelFormat fmt, int width, int height, SwsPass *input, - int align, void *priv, sws_filter_run_t run, + int align, void *priv, SwsPassFunc run, SwsPass **out_pass) { int ret; diff --git a/libswscale/graph.h b/libswscale/graph.h index 676f8cb46a..5ffc069d5a 100644 --- a/libswscale/graph.h +++ b/libswscale/graph.h @@ -42,8 +42,8 @@ typedef struct SwsGraph SwsGraph; * Output `h` lines of filtered data. `out` and `in` point to the * start of the image buffer for this pass. */ -typedef void (*sws_filter_run_t)(const SwsFrame *out, const SwsFrame *in, - int y, int h, const SwsPass *pass); +typedef void (*SwsPassFunc)(const SwsFrame *out, const SwsFrame *in, + int y, int h, const SwsPass *pass); /** * Represents an allocated output buffer for a filter pass. @@ -68,7 +68,7 @@ struct SwsPass { * the granularity dictated by `slice_h`. Individual slices sent to `run` * are always equal to (or smaller than, for the last slice) `slice_h`. */ - sws_filter_run_t run; + SwsPassFunc run; enum AVPixelFormat format; /* new pixel format */ int width, height; /* new output size */ int slice_h; /* filter granularity */ @@ -159,7 +159,7 @@ int ff_sws_graph_create(SwsContext *ctx, const SwsFormat *dst, const SwsFormat * */ int ff_sws_graph_add_pass(SwsGraph *graph, enum AVPixelFormat fmt, int width, int height, SwsPass *input, - int align, void *priv, sws_filter_run_t run, + int align, void *priv, SwsPassFunc run, SwsPass **out_pass); /** _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
