[FFmpeg-cvslog] r17870 - in trunk/libavutil: fifo.c fifo.h

reimar subversion
Sun Mar 8 15:21:56 CET 2009


Author: reimar
Date: Sun Mar  8 15:21:56 2009
New Revision: 17870

Log:
Remove av_fifo_read, API is already broken and major version will be bumped soon.

Modified:
   trunk/libavutil/fifo.c
   trunk/libavutil/fifo.h

Modified: trunk/libavutil/fifo.c
==============================================================================
--- trunk/libavutil/fifo.c	Sun Mar  8 15:16:55 2009	(r17869)
+++ trunk/libavutil/fifo.c	Sun Mar  8 15:21:56 2009	(r17870)
@@ -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);

Modified: trunk/libavutil/fifo.h
==============================================================================
--- trunk/libavutil/fifo.h	Sun Mar  8 15:16:55 2009	(r17869)
+++ trunk/libavutil/fifo.h	Sun Mar  8 15:21:56 2009	(r17870)
@@ -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




More information about the ffmpeg-cvslog mailing list