World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Other functions related to memory allocation. Подробнее...
Функции | |
static int | av_size_mult (size_t a, size_t b, size_t *r) |
void | av_max_alloc (size_t max) |
Other functions related to memory allocation.
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/mem.h>
Multiply two size_t
values checking for overflow.
[in] | a,b | Operands of multiplication |
[out] | r | Pointer to the result of the operation |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/mem.h>
Set the maximum size that may be allocated in one block.
The value specified with this function is effective for all libavutil's heap management functions.
By default, the max value is defined as INT_MAX
.
max | Value to be set as the new maximum size |