Commit 4b141a3ab8 for ffmpeg

commit 4b141a3ab8e7da75ad82bc256a2cbec922415655
Author: Wu Jianhua <toqsxw@outlook.com>
Date:   Tue Apr 15 04:46:28 2025 +0800

    avcodec/vvc/ctu: *2 for high bitdepth

    Signed-off-by: Wu Jianhua <toqsxw@outlook.com>

diff --git a/libavcodec/vvc/ctu.h b/libavcodec/vvc/ctu.h
index 3fe4277723..060479762f 100644
--- a/libavcodec/vvc/ctu.h
+++ b/libavcodec/vvc/ctu.h
@@ -445,10 +445,10 @@ typedef struct VVCLocalContext {
             DECLARE_ALIGNED(32, uint8_t, edge_emu_buffer)[EDGE_EMU_BUFFER_STRIDE * EDGE_EMU_BUFFER_STRIDE * 2];
             /* *4: tpixel is int for bit depths greater than 12 */
             DECLARE_ALIGNED(32, uint8_t, scaled_tmp)[EDGE_EMU_BUFFER_STRIDE * MAX_PB_SIZE * sizeof(int)];
-            DECLARE_ALIGNED(32, int16_t, tmp)[MAX_PB_SIZE * MAX_PB_SIZE];
-            DECLARE_ALIGNED(32, int16_t, tmp1)[MAX_PB_SIZE * MAX_PB_SIZE];
+            DECLARE_ALIGNED(32, int16_t, tmp)[MAX_PB_SIZE * MAX_PB_SIZE * 2];
+            DECLARE_ALIGNED(32, int16_t, tmp1)[MAX_PB_SIZE * MAX_PB_SIZE * 2];
             union {
-                DECLARE_ALIGNED(32, int16_t, prof_tmp)[MAX_PB_SIZE * MAX_PB_SIZE];
+                DECLARE_ALIGNED(32, int16_t, prof_tmp)[MAX_PB_SIZE * MAX_PB_SIZE * 2];
                 DECLARE_ALIGNED(32, uint8_t, ciip_tmp)[MAX_PB_SIZE * MAX_PB_SIZE * 2];
             };
         } pred; ///< only accessed in ff_vvc_predict_inter() and ff_vvc_predict_ciip()