From 4ec767abcc1036a424e4b30ef6d0d3b180d4eed4 Mon Sep 17 00:00:00 2001 From: Nuo Mi Date: Sat, 23 Nov 2024 17:32:36 +0800 Subject: [PATCH] avcodec/vvcdec: misc, reformat inter_data() --- libavcodec/vvc/ctu.c | 5 ++--- 1 file 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);