MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_malloc_array

Function av_malloc_array

libavutil/mem.c:209–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void *av_malloc_array(size_t nmemb, size_t size)
210{
211 size_t result;
212 if (size_mult(nmemb, size, &result) < 0)
213 return NULL;
214 return av_malloc(result);
215}
216
217void *av_realloc_array(void *ptr, size_t nmemb, size_t size)
218{

Callers 15

ff_alsa_openFunction · 0.85
mmap_initFunction · 0.85
lavfi_read_headerFunction · 0.85
start_jackFunction · 0.85
build_filterFunction · 0.85
swri_get_ditherFunction · 0.85
output_mpdFunction · 0.85
ff_format_shift_dataFunction · 0.85
read_headerFunction · 0.85
ambisonics_configFunction · 0.85
mka_parse_audio_codecFunction · 0.85

Calls 2

size_multFunction · 0.85
av_mallocFunction · 0.70

Tested by 4

mainFunction · 0.68
config_propsFunction · 0.68
mainFunction · 0.68