From 19394deb42c038f41fbd48dc4bc3cb5d5ea5e6b2 Mon Sep 17 00:00:00 2001 From: Xiang Li <xlxiangli@tencent.com> Date: Fri, 26 Oct 2018 21:54:40 -0700 Subject: [PATCH] Temporary fix for intra buffer when 4-tap filter is used. --- source/Lib/CommonLib/IntraPrediction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Lib/CommonLib/IntraPrediction.cpp b/source/Lib/CommonLib/IntraPrediction.cpp index 1ef9df96..aa7cb7e4 100644 --- a/source/Lib/CommonLib/IntraPrediction.cpp +++ b/source/Lib/CommonLib/IntraPrediction.cpp @@ -585,8 +585,8 @@ void IntraPrediction::xPredIntraAng( const CPelBuf &pSrc, PelBuf &pDst, const Ch Pel* refMain; Pel* refSide; - Pel refAbove[2 * MAX_CU_SIZE + 1]; - Pel refLeft [2 * MAX_CU_SIZE + 1]; + Pel refAbove[2 * MAX_CU_SIZE + 3]; + Pel refLeft [2 * MAX_CU_SIZE + 3]; // Initialize the Main and Left reference array. -- GitLab