Commit dbe69b90 authored by reimar's avatar reimar

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17870 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9f8370a9
...@@ -48,11 +48,6 @@ int av_fifo_size(AVFifoBuffer *f) ...@@ -48,11 +48,6 @@ int av_fifo_size(AVFifoBuffer *f)
return (uint32_t)(f->wndx - f->rndx); 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 #if LIBAVUTIL_VERSION_MAJOR < 50
void av_fifo_realloc(AVFifoBuffer *f, unsigned int new_size) { void av_fifo_realloc(AVFifoBuffer *f, unsigned int new_size) {
av_fifo_realloc2(f, new_size); av_fifo_realloc2(f, new_size);
......
...@@ -55,14 +55,6 @@ void av_fifo_free(AVFifoBuffer *f); ...@@ -55,14 +55,6 @@ void av_fifo_free(AVFifoBuffer *f);
*/ */
int av_fifo_size(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. * Feeds data from an AVFifoBuffer to a user-supplied callback.
* @param *f AVFifoBuffer to read from * @param *f AVFifoBuffer to read from
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment