YUV conversation: fixed luma frame creation

in the conversation function general_RGBToAVC444YUVv2_ANY
This commit is contained in:
Martin Haimberger 2018-01-12 00:08:56 -08:00
parent 792a75c462
commit 94a58bd18d

View File

@ -1320,8 +1320,8 @@ static INLINE pstatus_t general_RGBToAVC444YUVv2_ANY(
for (y = 0; y < roi->height / 2; y++)
{
const BYTE* src = pSrc + (2 * y) * srcStep;
BYTE* b2 = pDst1[1] + 2 * y * dst1Step[1];
BYTE* b3 = pDst1[2] + 2 * y * dst1Step[2];
BYTE* b2 = pDst1[1] + y * dst1Step[1];
BYTE* b3 = pDst1[2] + y * dst1Step[2];
for (x = 0; x < roi->width / 2; x++)
{