91 Commits (f4e85afd99ed1238243988b8473c66cb2721bf1a)

Author SHA1 Message Date
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
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
Michael Niedermayer 5a36783bc4 Fix all malloc(0) issues 14 years ago
Vitor Sessak 13dfce3d44 Increase alignment of av_malloc() as needed by AVX ASM. 14 years ago
Anton Khirnov 490a022d86 lavu: remove misc disabled cruft 14 years ago
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers 14 years ago
Clément Bœsch 0c8eb72ec5 Avoid pointless check before calling free 14 years ago
Clément Bœsch dc75d6dbf2 Avoid pointless check before calling free 14 years ago
Michael Niedermayer b47541c7a3 Change the argument of memory allocation functions from unsigned int to size_t 14 years ago
Diego Biurrun ba87f0801d Remove explicit filename from Doxygen @file commands. 15 years ago
Måns Rullgård 4ae406856f Add --malloc-prefix to apply a prefix to malloc, free etc 15 years ago
Patrik Kullman a90de11dba Check return value of posix_memalign and explicitly set pointer to NULL if it 16 years ago
Diego Biurrun bad5537e2c Use full internal pathname in doxygen @file directives. 16 years ago
Diego Biurrun 89c9ff504b spelling/grammar/consistency review part I 16 years ago