I need create array:
const UInt8 *pixels[3] = { yuvFrame.luma.bytes, yuvFrame.chromaB.bytes, yuvFrame.chromaR.bytes };
But Xcode show me error:
Cannot initialize an array element of type 'const UInt8 *' (aka 'const unsigned char *') with an rvalue of type 'const void *'
I am mixing C++ code with Objective-C. So how can I fix this? I need this const UInt8 *pixels[3]. Any suggestions?