This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit b9481ae3c2d3c15d886ae39bb0c36510baaa88f7 Author: Niklas Haas <[email protected]> AuthorDate: Tue Jun 9 20:10:04 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Thu Jun 25 01:20:48 2026 +0200 swscale/format: remove no longer needed overflow check Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas <[email protected]> --- libswscale/format.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libswscale/format.c b/libswscale/format.c index f1e0e3242e..b03cfff44a 100644 --- a/libswscale/format.c +++ b/libswscale/format.c @@ -1047,11 +1047,10 @@ int ff_sws_decode_pixfmt(SwsOpList *ops, const SwsFormat *fmt) * canonical order {Y, U, V, A} */ const int is_ya = desc->nb_components == 2; for (int c = 0; c < desc->nb_components; c++) { - const int bits = desc->comp[c].depth + shift.amount; - const int idx = swizzle.in[is_ya ? 3 * c : c]; - comps->min[idx] = Q(0); - if (bits < 32) /* FIXME: AVRational is limited to INT_MAX */ - comps->max[idx] = intmax_q64(bits); + const int bits = desc->comp[c].depth + shift.amount; + const int idx = swizzle.in[is_ya ? 3 * c : c]; + comps->min[idx] = Q(0); + comps->max[idx] = intmax_q64(bits); } } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
