[FFmpeg-devel] [PATCH 6/8] avcodec/vvcdec: misc, reformat inter_data()

Nuo Mi nuomi2021 at gmail.com
Sat Nov 23 11:32:36 EET 2024


---
 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);
-- 
2.34.1



More information about the ffmpeg-devel mailing list