Mercurial > libavcodec.hg
diff avcodec.h @ 6941:da73a98945ea libavcodec
Move *_static to bitstream.c which is the only file left which needs
them.
author | michael |
---|---|
date | Fri, 30 May 2008 21:12:33 +0000 |
parents | be1b0a6ee19a |
children | de032bcdeff9 |
line wrap: on
line diff
--- a/avcodec.h Fri May 30 21:08:41 2008 +0000 +++ b/avcodec.h Fri May 30 21:12:33 2008 +0000 @@ -2918,31 +2918,6 @@ */ void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); -/* for static data only */ - -/** - * Frees all static arrays and resets their pointers to 0. - * Call this function to release all statically allocated tables. - * - * @deprecated. Code which uses av_free_static is broken/misdesigned - * and should correctly use static arrays - * - */ -attribute_deprecated void av_free_static(void); - -/** - * Allocation of static arrays. - * - * @warning Do not use for normal allocation. - * - * @param[in] size The amount of memory you need in bytes. - * @return block of memory of the requested size - * @deprecated. Code which uses av_mallocz_static is broken/misdesigned - * and should correctly use static arrays - */ -attribute_deprecated av_malloc_attrib av_alloc_size(1) -void *av_mallocz_static(unsigned int size); - /** * Copy image 'src' to 'dst'. */