aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-05-19 01:17:05 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2024-07-02 21:57:21 +0200
commit97ae47f9e928f6163dfbfbe30415c253ae8780bb (patch)
tree14391c212f911f2e91b40462f3e162f1dba5c340
parentd22a33710acb004f90c7454daf8145c3943ecbeb (diff)
downloadffmpeg-97ae47f9e928f6163dfbfbe30415c253ae8780bb.tar.gz
avcodec/vvc/ctu: Remove dead ret check
Fixes: CID1560040 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/vvc/ctu.c2
1 files changed, 0 insertions, 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)