summaryrefslogtreecommitdiff
path: root/libavutil/fifo.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-08-19 22:15:05 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-08-19 22:15:05 +0000
commite8e2b2ef171353dc593f41d7c4d5cdb11541e109 (patch)
tree3f192d0977e5d0f11a2f670918cbd075bf3a7918 /libavutil/fifo.h
parentfda0d4afa77c865dc53a4352ddd12e981ccfdf39 (diff)
Deprecate av_fifo_realloc(). av_fifo_realloc2() should be used instead.
Originally committed as revision 14855 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/fifo.h')
-rw-r--r--libavutil/fifo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/fifo.h b/libavutil/fifo.h
index 2384f7021f..f35ccc348a 100644
--- a/libavutil/fifo.h
+++ b/libavutil/fifo.h
@@ -93,13 +93,15 @@ attribute_deprecated void av_fifo_write(AVFifoBuffer *f, const uint8_t *buf, int
*/
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.