Browse code

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

Reimar Döffinger authored on 2009/03/08 23:21:56
Showing 2 changed files
... ...
@@ -48,11 +48,6 @@ int av_fifo_size(AVFifoBuffer *f)
48 48
     return (uint32_t)(f->wndx - f->rndx);
49 49
 }
50 50
 
51
-int av_fifo_read(AVFifoBuffer *f, uint8_t *buf, int buf_size)
52
-{
53
-    return av_fifo_generic_read(f, buf_size, NULL, buf);
54
-}
55
-
56 51
 #if LIBAVUTIL_VERSION_MAJOR < 50
57 52
 void av_fifo_realloc(AVFifoBuffer *f, unsigned int new_size) {
58 53
     av_fifo_realloc2(f, new_size);
... ...
@@ -56,14 +56,6 @@ void av_fifo_free(AVFifoBuffer *f);
56 56
 int av_fifo_size(AVFifoBuffer *f);
57 57
 
58 58
 /**
59
- * Reads data from an AVFifoBuffer.
60
- * @param *f AVFifoBuffer to read from
61
- * @param *buf data destination
62
- * @param buf_size number of bytes to read
63
- */
64
-int av_fifo_read(AVFifoBuffer *f, uint8_t *buf, int buf_size);
65
-
66
-/**
67 59
  * Feeds data from an AVFifoBuffer to a user-supplied callback.
68 60
  * @param *f AVFifoBuffer to read from
69 61
  * @param buf_size number of bytes to read