mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 12:50:49 +08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user