mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-29 12:34:17 +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
|
#ifdef _WIN32
|
||||||
return _aligned_malloc(size, alignment);
|
return _aligned_malloc(size, alignment);
|
||||||
#else
|
#else
|
||||||
|
size += ((size % alignment) == 0) ? 0 : alignment - (size % alignment);
|
||||||
return aligned_alloc(alignment, size);
|
return aligned_alloc(alignment, size);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user