117 Commits (f8406ab4b9f40408f0c559fa1c0aab5ecd159970)

Author SHA1 Message Date
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
Diego Biurrun 1e60e93355 10l: Add #undefs for system free/malloc/realloc, which must be used here. 16 years ago
Diego Biurrun 77652a6aaf C files should #include the header files of the same name. 16 years ago
Diego Biurrun 692c315e3a Do not #include common.h without necessity. 16 years ago
Diego Biurrun dfcb6b56f9 Directly #include a bunch of indirectly #included headers. 16 years ago
Diego Biurrun 406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences. 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Ramiro Polla 1f91cdce0b Use posix_memalign() if available. 16 years ago
Michael Niedermayer 19757f6169 indent 17 years ago
Michael Niedermayer fdf35f265a make av_strdup(NULL) return NULL 17 years ago
Michael Niedermayer ed0d3048c0 Merge declaratio and initialization. 17 years ago
Michael Niedermayer 11362767b8 Merge declaration and initialization. 17 years ago
Diego Biurrun 2cab640129 typo fixes 17 years ago
Diego Biurrun 7ce6892373 misc spelling fixes 17 years ago
avcoder 90d30570d8 Avoid void*-arithmetic. 17 years ago
Panagiotis Issaris d7f654692a Move unaltered av_freep() comments to the header file. 18 years ago
Panagiotis Issaris f690ee715d Move unaltered av_free() comments to the header file. 18 years ago
Panagiotis Issaris d6def91a3b Move unaltered av_realloc() comments to the header file. 18 years ago
Panagiotis Issaris 9a07029916 Move unaltered av_malloc() comments to the header file. 18 years ago
Diego Biurrun eafcac6ac8 cosmetics: Fix another common typo, dependAnt --> dependEnt. 18 years ago
Måns Rullgård 9ddbcae667 rename MEMALIGN_HACK to CONFIG_MEMALIGN_HACK, use common code in configure 18 years ago
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library' 18 years ago
Luca Barbato 79e47000c8 move memory functions from avcodec to avutil 19 years ago
Michael Niedermayer 0a7c36af54 revert aligned realloc() changesm this should be identical to r5784 19 years ago
Michael Niedermayer 732692d94c trying to fix av_realloc() 19 years ago
Michael Niedermayer 75c413ae77 align av_realloc() 19 years ago
Luca Abeni cea8f6f323 Move av_malloc(), av_realloc(), and av_free() from libavcodec to libavutil 19 years ago
Diego Biurrun da2e9781bb spelling typo 19 years ago
Herve W a949360163 * Allocating 16 bytes more for the MEMALIGN_HACK is enough. There's no 19 years ago
Diego Biurrun 7d77d5f639 spelling fixes courtesy of "Hervé W." H.O.W.aka.V+ffmpeg (at) gmail (dot) com 19 years ago
Dieter ed96aeea64 long is better than int for pointer differences 19 years ago