107 Commits (3a4232a1a0251e2ad595a544996fcc4465baf684)

Author SHA1 Message Date
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 10 years ago
Michael Niedermayer b3415e4c5f avutil/mem: Fix potential overflow in overallocation code 10 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 11 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 12 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
Nicolas George 5cd754bca2 Introduce av_realloc_f. 13 years ago
Laurent Aimar ccecab4a0d Add av_calloc() helper. 13 years ago
Michael Niedermayer a39bd458a0 mem: Trying to workaround posix_memalign() bug on OSX 14 years ago
Stefano Sabatini 6b4c0be558 mem: define the MAX_MALLOC_SIZE constant and use it in place of INT_MAX 14 years ago
Ivan Kalvachev 518cdff81f Fix posix_memalign() usage when libavutil is compiled outside FFmpeg. 14 years ago
Michael Niedermayer 08675bb399 mem: Choose alignment at compile time depending on AVX enabledness. 14 years ago
Michael Niedermayer c8981edd90 Only add 1 byte to av_malloc(0) when it actually returned NULL 14 years ago
Michael Niedermayer 91ff05f6ac Make av_realloc(0) behave like our av_malloc(0) 14 years ago
Anton Khirnov 35ceaa7376 Move ff_dynarray_add to lavu and make it public. 14 years ago