Fix error in copy from function in CalypFrame

This commit is contained in:
2019-04-08 15:00:15 +01:00
parent b5c5c837e8
commit 8620e3ddf2
+1 -1
View File
@@ -547,7 +547,7 @@ void CalypFrame::copyFrom( const CalypFrame* other )
void CalypFrame::copyFrom( const CalypFrame& other, unsigned int xPos, unsigned int yPos )
{
if( !haveSameFmt( other, MATCH_COLOR_SPACE | MATCH_BYTES_PER_FRAME | MATCH_BITS ) )
if( !haveSameFmt( other, MATCH_COLOR_SPACE | MATCH_BITS ) )
return;
// TODO: Protect width and height
ClpPel*** pInput = other.getPelBufferYUV();