replace SDL_memcpy with standard array copy
parent
54eb1d503f
commit
eda6d45c35
Binary file not shown.
|
@ -241,7 +241,7 @@ double TheorafileGMS_ReadVideo(char* filePointer, char* buffer, double numFrames
|
||||||
|
|
||||||
for (int i = 0; i < requiredBufferSize; i += 1)
|
for (int i = 0; i < requiredBufferSize; i += 1)
|
||||||
{
|
{
|
||||||
SDL_memcpy(buffer + (i * 4), yuvBuffer + i, sizeof(char));
|
buffer[i * 4] = yuvBuffer[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_free(yuvBuffer);
|
SDL_free(yuvBuffer);
|
||||||
|
|
Loading…
Reference in New Issue