118 Commits (7a8a5c200bd4a3960e3524d14697656c3696beea)

Author SHA1 Message Date
Carl Eugen Hoyos b7d9507bb8 lavu/mem: Make other alloc functions more similar to av_malloc(). 5 years ago
Michael Niedermayer 12b1338be3 avutil/mem: Optimize fill32() by unrolling and using 64bit 6 years ago
Carl Eugen Hoyos 695b1d8111 lavu/mem: Allow allocations close to max_alloc_size with av_fast_realloc(). 7 years ago
Carl Eugen Hoyos 21b5990da4 lavu/mem: Do not realloc in av_fast_realloc() if size == min_size. 7 years ago
James Darnley e2218ed8ce avutil: add alignment needed for AVX-512 7 years ago
Anton Khirnov 04b0f0e371 mem: uninline av_malloc(z)_array() 8 years ago
Diego Biurrun 4fb311c804 Drop memalign hack 8 years ago
Timothy Gu 04da20e58f dynarray: Change AV_ to FF_ for AV_DYNARRAY_ADD 8 years ago
Zhao Zhili 65b2feb890 avutil/mem: fix memleak 8 years ago
Michael Niedermayer fc91eeab0b avutil/mem: Add av_fast_mallocz() 9 years ago
Michael Niedermayer d6ff68ad85 Factor duplicated ff_fast_malloc() out into mem_internal.h 9 years ago
Michael Niedermayer b3415e4c5f avutil/mem: Fix potential overflow in overallocation code 9 years ago
Michael Niedermayer 4950bd4ebe libavutil/mem: use size_t for the length in av_strdup() 10 years ago
Michael Niedermayer 63186ac5f1 avutil/mem: replace remaining void **/*** casts by memcpy() 10 years ago
Rémi Denis-Courmont 6039248018 mem: fix pointer pointer aliasing violations 10 years ago
Anton Khirnov 8ddc32629a mem: add av_strndup() for duplicating substrings 10 years ago
Lukasz Marek cd50a44beb lavu/mem: add av_dynarray_add_nofree function 11 years ago
Michael Niedermayer 9ba1190297 avutil/mem: avoid using intptr_t to access void* in av_dynarray_add() 11 years ago
Nicolas George b0dcf76530 lavu/mem: reimplement the dynarray functions with the macro. 11 years ago
Anton Khirnov cce3e0a49f Move av_fast_{m,re}alloc from lavc to lavu. 11 years ago
Martin Storsjö d433e1aefa mem: Make av_strdup allocate using av_realloc 11 years ago
Martin Storsjö 67e285ceca mem: Handle av_reallocp(..., 0) properly 11 years ago
Luca Barbato 3feb3d6ce4 mem: Introduce av_reallocp 11 years ago
Diego Biurrun c3e6e8f06c mem: Do not check unsigned values for negative size 11 years ago
Diego Biurrun b634b36fce mem: Improve documentation wording and spelling 11 years ago
Michael Niedermayer c94f9e8542 avutil/mem: Fix flipped condition 11 years ago
Michael Niedermayer fbc472da29 avutil/mem: simplify av_reallocp_array() by using av_realloc_f() 12 years ago
Martin Storsjö fc962d4e7a mem: Add av_realloc_array and av_reallocp_array 12 years ago
Stefano Sabatini e3984166a4 lavu/mem: add av_dynarray2_add() 12 years ago
Stefano Sabatini 84be806982 lavu: define FF_MEMORY_POISON and use it 12 years ago
Stefano Sabatini ee9794ed20 lavu/mem: fix potential int overflow and crash in av_dynarray_add() 12 years ago
Michael Niedermayer 89b5039ff2 avutil/mem: add av_memdup() 12 years ago
Stefano Sabatini 1c1a2d1319 lavu/mem: remove redundant comment from av_dynarray_add() 12 years ago
Fabrizio Gennari 91b747ac78 mem: Fix usage of memalign() on DJGPP. 12 years ago
Anton Khirnov f935aca44c av_memcpy_backptr: avoid an infinite loop for back = 0 12 years ago
Michael Niedermayer 2c21d34ea4 avutil/mem: do a small set of checks for memalign hack before freeing. 12 years ago
Michael Niedermayer 58f30175e1 mem: minor simplification of the alignment hack code 12 years ago
Anton Khirnov cb45553f57 Remove pointless #undefs of previously forbidden functions. 12 years ago
Mans Rullgard 4a606c830a av_memcpy_backptr: optimise some special cases 12 years ago
Diego Biurrun 5bac2d0c30 avutil: Move memcpy_backptr() to mem.c 12 years ago
Diego Biurrun 5532cf3178 avutil/mem: K&R formatting cosmetics 12 years ago
Martin Storsjö 620b1e7e98 mem: Don't abort on av_malloc(0) in debug mode 13 years ago
Clément Bœsch 7c84e7d337 mem: heap memory poisoning. 13 years ago
Ronald S. Bultje be1a839ca6 mem: add support for _aligned_malloc() as found on Windows 13 years ago
Reimar Döffinger 1a65d50ee7 mem.c: fix wrong comment. 13 years ago
Martin Storsjö 14f063d294 mem: Consistently return NULL for av_malloc(0) 13 years ago
Alex Converse 7181c4edee cosmetics: Remove extra newlines at EOF 13 years ago
Michael Niedermayer 5a8e994287 mem: add av_max_alloc() to limit the maximum amount that may be allocated in one piece 13 years ago
Hanspeter Niederstrasser bed04e2b03 Correct use of OSX to Mac OS X and properly format yasm providers on Mac OS X 13 years ago
Michael Niedermayer fc11927890 mem: fix memalign hack av_realloc() 13 years ago