Remove av_fifo_read, API is already broken and major version will be bumped soon.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 8 Mar 2009 14:21:56 +0000 (14:21 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 8 Mar 2009 14:21:56 +0000 (14:21 +0000)
Originally committed as revision 17870 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/fifo.c
libavutil/fifo.h

index 515b2d7f59f8ec90cac41294f5ce8c226aa3e28b..2df177dd7ea2e6ce86653da36256c4b507686382 100644 (file)
@@ -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);
index 4c3a5289f085a75db10d356b23f1f4dee44dd937..d1949044ffb26a0349044361ed482605a3f81f78 100644 (file)
@@ -55,14 +55,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