Fixed vc_copylineRG48toRGB

This commit is contained in:
Martin Pulec
2020-05-28 13:31:19 +02:00
parent a93b17a80c
commit 3c191f9950

View File

@@ -1962,7 +1962,7 @@ void vc_copylineRG48toRGB(unsigned char * __restrict dst, const unsigned char *
UNUSED(rshift);
UNUSED(gshift);
UNUSED(bshift);
OPTIMIZED_FOR (int x = 0; x <= dst_len - 4; x += 4) {
OPTIMIZED_FOR (int x = 0; x <= dst_len - 3; x += 3) {
*dst++ = src[1];
*dst++ = src[3];
*dst++ = src[5];