REVIEWED: `LoadImageAnimFromMemory()` #3704

This commit is contained in:
Ray 2024-01-05 22:33:56 +01:00
parent e428ec940b
commit b4cb0f3e7d
1 changed files with 1 additions and 2 deletions

View File

@ -470,7 +470,6 @@ Image LoadImageAnimFromMemory(const char *fileType, const unsigned char *fileDat
image.mipmaps = 1;
image.format = PIXELFORMAT_UNCOMPRESSED_R8G8B8A8;
RL_FREE(fileData);
RL_FREE(delays); // NOTE: Frames delays are discarded
}
}
@ -479,7 +478,7 @@ Image LoadImageAnimFromMemory(const char *fileType, const unsigned char *fileDat
#endif
else
{
image = LoadImageFromMemory(fileType,fileData,dataSize);
image = LoadImageFromMemory(fileType, fileData, dataSize);
frameCount = 1;
}