diff options
author | Diego Biurrun | 2009-01-25 19:22:47 +0000 |
---|---|---|
committer | Diego Biurrun | 2009-01-25 19:22:47 +0000 |
commit | 5090122f906d13a8bd02ade4f1d39f1fb8ac3321 (patch) | |
tree | 841b9d3dd6a4afe04053f140b4c3c7e6b3269b1c /libavutil/fifo.h | |
parent | 4ce9492339b2313fcc52b7d572b6e167fe6b8c11 (diff) |
Drop deprecated av_fifo_write function with the next libavutil version bump.
Originally committed as revision 16782 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/fifo.h')
-rw-r--r-- | libavutil/fifo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/fifo.h b/libavutil/fifo.h index 93756e92c9..7901972968 100644 --- a/libavutil/fifo.h +++ b/libavutil/fifo.h @@ -72,6 +72,7 @@ int av_fifo_read(AVFifoBuffer *f, uint8_t *buf, int buf_size); */ int av_fifo_generic_read(AVFifoBuffer *f, int buf_size, void (*func)(void*, void*, int), void* dest); +#if LIBAVUTIL_VERSION_MAJOR < 50 /** * Writes data into an AVFifoBuffer. * @param *f AVFifoBuffer to write to @@ -79,6 +80,7 @@ int av_fifo_generic_read(AVFifoBuffer *f, int buf_size, void (*func)(void*, void * @param size data size */ attribute_deprecated void av_fifo_write(AVFifoBuffer *f, const uint8_t *buf, int size); +#endif /** * Feeds data from a user supplied callback to an AVFifoBuffer. |