# HG changeset patch # User reimar # Date 1236522116 0 # Node ID cb5d78a798ac6a8b9973a8b62644f8aa2fc2495a # Parent 58a5033060c38377b81c5335d5db955e25138184 Remove av_fifo_read, API is already broken and major version will be bumped soon. diff -r 58a5033060c3 -r cb5d78a798ac fifo.c --- a/fifo.c Sun Mar 08 14:16:55 2009 +0000 +++ b/fifo.c Sun Mar 08 14:21:56 2009 +0000 @@ -48,11 +48,6 @@ 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 -r 58a5033060c3 -r cb5d78a798ac fifo.h --- a/fifo.h Sun Mar 08 14:16:55 2009 +0000 +++ b/fifo.h Sun Mar 08 14:21:56 2009 +0000 @@ -56,14 +56,6 @@ 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