Commit 181ee7caf8 for ffmpeg
commit 181ee7caf8f3b74d8e809970a4febc0e4d481004
Author: Niklas Haas <git@haasn.dev>
Date: Mon Oct 19 23:06:52 2026 +0200
swscale/ops: comment bikeshedding
Suggested-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Niklas Haas <git@haasn.dev>
diff --git a/libswscale/ops.c b/libswscale/ops.c
index bd6f85b4f1..cf300ed6c3 100644
--- a/libswscale/ops.c
+++ b/libswscale/ops.c
@@ -498,7 +498,7 @@ static void update_output_pads(SwsOpList *ops, SwsOp *op)
for (int i = 0; i < 4; i++) {
if (op->pack.pattern[i])
FORWARD(0, i, flags & SWS_COMP_DIRTY);
- if (i > 0) /* clear remaining comps for sanity */
+ if (i > 0) /* clear remaining pads for sanity */
RESET(i);
}
break;
diff --git a/libswscale/ops.h b/libswscale/ops.h
index 473f6f4953..e2bd6e93a5 100644
--- a/libswscale/ops.h
+++ b/libswscale/ops.h
@@ -236,7 +236,7 @@ typedef enum SwsCompFlags {
typedef struct SwsOpPad {
SwsPixelType type; /* pixel type of this output component */
- SwsCompFlags flags; /* knowledge about (output) component contents */
+ SwsCompFlags flags; /* knowledge about component contents */
/* Keeps track of the known possible value range, or {0, 0} for undefined
* or (unknown range) floating point inputs */