diff mbox series

[FFmpeg-devel,2/2] avcodec/vvcdec: format, fix indent for vvc_deblock_bs

Message ID TYSPR06MB643376EAF4C9EFD9B0D8F5FDAA882@TYSPR06MB6433.apcprd06.prod.outlook.com
State New
Headers show
Series [FFmpeg-devel,1/2] avcodec/vvcdec: filter, fix uninitialized variables for YUV400 format | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Nuo Mi Aug. 23, 2024, 3:03 p.m. UTC
---
 libavcodec/vvc/filter.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/vvc/filter.c b/libavcodec/vvc/filter.c
index aa0d542271..25bef45eed 100644
--- a/libavcodec/vvc/filter.c
+++ b/libavcodec/vvc/filter.c
@@ -680,12 +680,12 @@  typedef void (*deblock_bs_fn)(const VVCLocalContext *lc, const int x0, const int
 
 static void vvc_deblock_bs(const VVCLocalContext *lc, const int x0, const int y0, const int rs, const int vertical)
 {
-    const VVCFrameContext *fc = lc->fc;
-    const VVCSPS *sps  = fc->ps.sps;
-    const VVCPPS *pps  = fc->ps.pps;
-    const int ctb_size = sps->ctb_size_y;
-    const int x_end    = FFMIN(x0 + ctb_size, pps->width) >> MIN_TU_LOG2;
-    const int y_end    = FFMIN(y0 + ctb_size, pps->height) >> MIN_TU_LOG2;
+    const VVCFrameContext *fc  = lc->fc;
+    const VVCSPS *sps          = fc->ps.sps;
+    const VVCPPS *pps          = fc->ps.pps;
+    const int ctb_size         = sps->ctb_size_y;
+    const int x_end            = FFMIN(x0 + ctb_size, pps->width) >> MIN_TU_LOG2;
+    const int y_end            = FFMIN(y0 + ctb_size, pps->height) >> MIN_TU_LOG2;
     const int has_chroma       = !!sps->r->sps_chroma_format_idc;
     deblock_bs_fn deblock_bs[] = {
         vvc_deblock_bs_luma, vvc_deblock_bs_chroma