Skip to content
Snippets Groups Projects
Commit 340f2d5f authored by Karsten Suehring's avatar Karsten Suehring
Browse files

Merge branch 'gcc10-hbd-fix' into 'master'

GCC-10 compiler fix for error when JVET_R0351_HIGH_BIT_DEPTH_ENABLED is enabled

See merge request jvet/VVCSoftware_VTM!1773
parents c8abbf7f df0ba225
No related branches found
No related tags found
No related merge requests found
......@@ -303,11 +303,13 @@ void IntraPrediction::xPredIntraPlanar( const CPelBuf &pSrc, PelBuf &pDst )
const uint32_t offset = 1 << (log2W + log2H);
// Get left and above reference column and row
CHECK(width > MAX_CU_SIZE, "width greater than limit");
for( int k = 0; k < width + 1; k++ )
{
topRow[k] = pSrc.at( k + 1, 0 );
}
CHECK(height > MAX_CU_SIZE, "height greater than limit");
for( int k = 0; k < height + 1; k++ )
{
leftColumn[k] = pSrc.at(k + 1, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment