diff options
Diffstat (limited to 'image/codecs/indeo/mem.h')
-rw-r--r-- | image/codecs/indeo/mem.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/image/codecs/indeo/mem.h b/image/codecs/indeo/mem.h index c94cc78ee6..8e889e5cbf 100644 --- a/image/codecs/indeo/mem.h +++ b/image/codecs/indeo/mem.h @@ -41,17 +41,6 @@ namespace Indeo { /** * Allocate a memory block with alignment suitable for all memory accesses - * (including vectors if available on the CPU). - * - * @param size Size in bytes for the memory block to be allocated - * @return Pointer to the allocated block, or `NULL` if the block cannot - * be allocated - * @see av_mallocz() - */ -extern void *avMalloc(size_t size); - -/** - * Allocate a memory block with alignment suitable for all memory accesses * (including vectors if available on the CPU) and zero all the bytes of the * block. * @@ -91,19 +80,6 @@ extern void *avMallocZArray(size_t nmemb, size_t size); /** * Free a memory block which has been allocated with a function of av_malloc() - * or av_realloc() family. - * - * @param ptr Pointer to the memory block which should be freed. - * - * @note `ptr = NULL` is explicitly allowed. - * @note It is recommended that you use av_freep() instead, to prevent leaving - * behind dangling pointers. - * @see av_freep() - */ -extern void avFree(void *ptr); - -/** - * Free a memory block which has been allocated with a function of av_malloc() * or av_realloc() family, and set the pointer pointing to it to `NULL`. * * @param ptr Pointer to the pointer to the memory block which should be freed |