Commit 464fc8c2ed for ffmpeg
commit 464fc8c2ed53648b9ede81555921e3995d32bbe5
Author: Niklas Haas <git@haasn.dev>
Date: Fri Oct 23 11:55:26 2026 +0200
swscale/uops_macros_gen: fix argument order in the C macro documentation
Signed-off-by: Niklas Haas <git@haasn.dev>
diff --git a/libswscale/uops_macros.h b/libswscale/uops_macros.h
index 5082b45237..92d61f4442 100644
--- a/libswscale/uops_macros.h
+++ b/libswscale/uops_macros.h
@@ -9,7 +9,7 @@
/**
* Boilerplate helper macros, for template-based backends. These will be
* instantiated like this, with parameters in struct order:
- * MACRO(__VA_ARGS__, NAME, UOP, TYPE, MASK, [PARAMS,])
+ * MACRO(__VA_ARGS__, NAME, TYPE, UOP, MASK, [PARAMS,])
* The _STRUCT variants pass all arguments in C struct syntax, while the
* plain variants give them as separate C values (e.g. for use in calls)
*/
diff --git a/libswscale/uops_macros_gen.c b/libswscale/uops_macros_gen.c
index 40d3e888b9..4da20af67c 100644
--- a/libswscale/uops_macros_gen.c
+++ b/libswscale/uops_macros_gen.c
@@ -409,7 +409,7 @@ static int print_macros(struct AVTreeNode *root, const Backend *backend,
"/**\n"
" * Boilerplate helper macros, for template-based backends. These will be\n"
" * instantiated like this, with parameters in struct order:\n"
-" * MACRO(__VA_ARGS__, NAME, UOP, TYPE, MASK, [PARAMS,])\n"
+" * MACRO(__VA_ARGS__, NAME, TYPE, UOP, MASK, [PARAMS,])\n"
" * The _STRUCT variants pass all arguments in C struct syntax, while the\n"
" * plain variants give them as separate C values (e.g. for use in calls)\n"
" */\n"
diff --git a/libswscale/x86/uops_macros.h b/libswscale/x86/uops_macros.h
index 91499a1d86..8226feb981 100644
--- a/libswscale/x86/uops_macros.h
+++ b/libswscale/x86/uops_macros.h
@@ -9,7 +9,7 @@
/**
* Boilerplate helper macros, for template-based backends. These will be
* instantiated like this, with parameters in struct order:
- * MACRO(__VA_ARGS__, NAME, UOP, TYPE, MASK, [PARAMS,])
+ * MACRO(__VA_ARGS__, NAME, TYPE, UOP, MASK, [PARAMS,])
* The _STRUCT variants pass all arguments in C struct syntax, while the
* plain variants give them as separate C values (e.g. for use in calls)
*/