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

Merge branch 'JVET_AD0129' into 'master'

JVET-AD0129: Fix padding

See merge request jvet/VVCSoftware_VTM!2602
parents 73a9bc7e 81846773
No related branches found
No related tags found
1 merge request!2602JVET-AD0129: Fix padding
Pipeline #9937 passed
......@@ -520,10 +520,9 @@ static bool readPlane(Pel *dst, std::istream &fd, bool is16bit, ptrdiff_t stride
}
// process right hand side padding
const Pel val = dst[widthDest - 1];
for (uint32_t x = widthDest; x < fullWidthDest; x++)
{
pDstBuf[x] = val;
pDstBuf[x] = pDstBuf[widthDest-1];
}
pDstBuf += dstBufStride;
......
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