aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNuo Mi <nuomi2021@gmail.com>2024-11-23 17:32:36 +0800
committerNuo Mi <nuomi2021@gmail.com>2024-11-30 09:58:59 +0800
commit4ec767abcc1036a424e4b30ef6d0d3b180d4eed4 (patch)
tree302204494440c00c33c29d5413302ba819354aaf
parentba89c5b989938fad751ac451d1f6ef813bb42460 (diff)
downloadffmpeg-4ec767abcc1036a424e4b30ef6d0d3b180d4eed4.tar.gz
avcodec/vvcdec: misc, reformat inter_data()
-rw-r--r--libavcodec/vvc/ctu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c
index 6c0c52b836..a32abdeb62 100644
--- a/libavcodec/vvc/ctu.c
+++ b/libavcodec/vvc/ctu.c
@@ -1779,7 +1779,7 @@ static int inter_data(VVCLocalContext *lc)
if (pu->general_merge_flag) {
ret = hls_merge_data(lc);
- } else if (cu->pred_mode == MODE_IBC){
+ } else if (cu->pred_mode == MODE_IBC) {
ret = mvp_data_ibc(lc);
} else {
ret = mvp_data(lc);
@@ -1788,8 +1788,7 @@ static int inter_data(VVCLocalContext *lc)
if (ret)
return ret;
- if (cu->pred_mode == MODE_IBC)
- {
+ if (cu->pred_mode == MODE_IBC) {
ff_vvc_update_hmvp(lc, mi);
} else if (!pu->merge_gpm_flag && !pu->inter_affine_flag && !pu->merge_subblock_flag) {
refine_regular_subblock(lc);