mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 06:21:19 +12:00
Workaround for the h264 video crash on macOS (#348)
This commit is contained in:
parent
b724a657e6
commit
638e9e1f87
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue