This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 7dad1be1bfdd0eb44f4266b577bd64a5c541ae4b Author: Andreas Rheinhardt <[email protected]> AuthorDate: Tue Jun 23 21:58:47 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Sat Jun 27 00:06:08 2026 +0200 avcodec/hevc/hevcdec: Remove redundant clipping Forgotten in f82dd4c09b2decb033f1e339d4be81efd38554f1. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/hevc/hevcdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c index ae064ec8af..f00acd07bf 100644 --- a/libavcodec/hevc/hevcdec.c +++ b/libavcodec/hevc/hevcdec.c @@ -185,7 +185,7 @@ static int pred_weight_table(SliceHeader *sh, void *logctx, av_log(logctx, AV_LOG_ERROR, "luma_log2_weight_denom %d is invalid\n", luma_log2_weight_denom); return AVERROR_INVALIDDATA; } - sh->luma_log2_weight_denom = av_clip_uintp2(luma_log2_weight_denom, 3); + sh->luma_log2_weight_denom = luma_log2_weight_denom; if (sps->chroma_format_idc != 0) { int64_t chroma_log2_weight_denom = luma_log2_weight_denom + (int64_t)get_se_golomb(gb); if (chroma_log2_weight_denom < 0 || chroma_log2_weight_denom > 7) { _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
