swscale/ops: don't strip range metadata for unused components

As alluded to by the previous commit, this is now no longer necessary to
prevent their print-out.

Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
Niklas Haas
2026-03-31 13:30:01 +02:00
parent 3680642e1b
commit 80bd6c0cd5

View File

@@ -528,10 +528,8 @@ void ff_sws_op_list_update_comps(SwsOpList *ops)
bool need_in[4] = { false, false, false, false };
for (int i = 0; i < 4; i++) {
if (!need_out[i]) {
if (!need_out[i])
op->comps.flags[i] = SWS_COMP_GARBAGE;
op->comps.min[i] = op->comps.max[i] = (AVRational) {0};
}
}
switch (op->op) {