From b8440779c8d4fac8ee32a3a8b6499bef6afba34d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 19 May 2024 01:17:05 +0200 Subject: [PATCH] avcodec/vvc/ctu: Remove dead ret check Fixes: CID1560040 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer Signed-off-by: Paul B Mahol --- libavcodec/vvc/ctu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c index bd0be2d821..8dd6ea77cd 100644 --- a/libavcodec/vvc/ctu.c +++ b/libavcodec/vvc/ctu.c @@ -1878,8 +1878,6 @@ static int hls_coding_unit(VVCLocalContext *lc, int x0, int y0, int cb_width, in cu->lfnst_idx = lfnst_idx_decode(lc); cu->mts_idx = mts_idx_decode(lc); set_qp_c(lc); - if (ret < 0) - return ret; } else { ret = skipped_transform_tree_unit(lc); if (ret < 0)