mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-25 18:46:55 +01:00
Workaround for the h264 video crash on macOS (#348)
This commit is contained in:
parent
b724a657e6
commit
638e9e1f87
@ -194,6 +194,7 @@ namespace H264
|
||||
#ifdef _WIN32
|
||||
return _aligned_malloc(size, alignment);
|
||||
#else
|
||||
size += ((size % alignment) == 0) ? 0 : alignment - (size % alignment);
|
||||
return aligned_alloc(alignment, size);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user