vc_copylineRG48toR12L: fixed a warning

This commit is contained in:
Martin Pulec
2020-05-25 09:45:37 +02:00
parent 7149ebcf47
commit 5c85bf4d58

View File

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