diff options
Diffstat (limited to 'libavutil/fifo.c')
-rw-r--r-- | libavutil/fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/fifo.c b/libavutil/fifo.c index 2df177dd7e..26a81657d9 100644 --- a/libavutil/fifo.c +++ b/libavutil/fifo.c @@ -63,7 +63,7 @@ int av_fifo_realloc2(AVFifoBuffer *f, unsigned int new_size) { if (!f2) return -1; - av_fifo_read(f, f2->buffer, len); + av_fifo_generic_read(f, len, NULL, f2->buffer); f2->wptr += len; f2->wndx += len; av_free(f->buffer); |