Mercurial > libavutil.hg
diff fifo.h @ 565:a0dab9157d6a libavutil
Deprecate av_fifo_realloc(). av_fifo_realloc2() should be used instead.
author | stefano |
---|---|
date | Tue, 19 Aug 2008 22:15:05 +0000 |
parents | a1ac1cb9a91b |
children | bd4052d9050c |
line wrap: on
line diff
--- a/fifo.h Tue Aug 19 18:43:34 2008 +0000 +++ b/fifo.h Tue Aug 19 22:15:05 2008 +0000 @@ -93,13 +93,15 @@ */ int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int)); +#if LIBAVUTIL_VERSION_MAJOR < 50 /** * Resizes an AVFifoBuffer. * @param *f AVFifoBuffer to resize * @param size new AVFifoBuffer size in bytes * @see av_fifo_realloc2() */ -void av_fifo_realloc(AVFifoBuffer *f, unsigned int size); +attribute_deprecated void av_fifo_realloc(AVFifoBuffer *f, unsigned int size); +#endif /** * Resizes an AVFifoBuffer.