diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-03-08 14:21:56 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-03-08 14:21:56 +0000 |
commit | cddcf8c60f1ffd09cb738cabed54108f3af131d5 (patch) | |
tree | 1dd8464448346364785dc4099100ec88024e7c99 /libavutil | |
parent | 41dd680dd80d93626e133c02b92e31cabb756eeb (diff) | |
download | ffmpeg-cddcf8c60f1ffd09cb738cabed54108f3af131d5.tar.gz |
Remove av_fifo_read, API is already broken and major version will be bumped soon.
Originally committed as revision 17870 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/fifo.c | 5 | ||||
-rw-r--r-- | libavutil/fifo.h | 8 |
2 files changed, 0 insertions, 13 deletions
diff --git a/libavutil/fifo.c b/libavutil/fifo.c index 515b2d7f59..2df177dd7e 100644 --- a/libavutil/fifo.c +++ b/libavutil/fifo.c @@ -48,11 +48,6 @@ int av_fifo_size(AVFifoBuffer *f) return (uint32_t)(f->wndx - f->rndx); } -int av_fifo_read(AVFifoBuffer *f, uint8_t *buf, int buf_size) -{ - return av_fifo_generic_read(f, buf_size, NULL, buf); -} - #if LIBAVUTIL_VERSION_MAJOR < 50 void av_fifo_realloc(AVFifoBuffer *f, unsigned int new_size) { av_fifo_realloc2(f, new_size); diff --git a/libavutil/fifo.h b/libavutil/fifo.h index 4c3a5289f0..d1949044ff 100644 --- a/libavutil/fifo.h +++ b/libavutil/fifo.h @@ -56,14 +56,6 @@ void av_fifo_free(AVFifoBuffer *f); int av_fifo_size(AVFifoBuffer *f); /** - * Reads data from an AVFifoBuffer. - * @param *f AVFifoBuffer to read from - * @param *buf data destination - * @param buf_size number of bytes to read - */ -int av_fifo_read(AVFifoBuffer *f, uint8_t *buf, int buf_size); - -/** * Feeds data from an AVFifoBuffer to a user-supplied callback. * @param *f AVFifoBuffer to read from * @param buf_size number of bytes to read |