mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 05:17:42 +00:00
swscale/ops: clamp lev_extra >= lev
This doesn't make sense to pass otherwise, but the clamp is cheap. Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
1 parent
484ccc1066
commit
a16257e454
1 file changed
+1
@@ -1051,6 +1051,7 @@ void ff_sws_op_list_print(void *log, int lev, int lev_extra,
|
||||
}
|
||||
|
||||
av_bprint_init(bp, 0, AV_BPRINT_SIZE_AUTOMATIC);
|
||||
lev_extra = FFMAX(lev_extra, lev);
|
||||
|
||||
for (int n = 0; n < ops->num_ops; n++) {
|
||||
const SwsOp *op = &ops->ops[n];
|
||||
|
||||
Reference in new issue
Block a user