Re: [FFmpeg-devel] [PATCH v2 31/31] avutil/fifo: Deprecate old FIFO API

2022-02-01 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2022-01-24 15:46:16) > @@ -323,7 +350,11 @@ int av_fifo_generic_read(AVFifoBuffer *f, void *dest, > int buf_size, void (*func) > * indicate no more data available to write. > * If func is NULL, src is interpreted as a simple byte array for source > data. > * @ret

[FFmpeg-devel] [PATCH v2 31/31] avutil/fifo: Deprecate old FIFO API

2022-01-24 Thread Andreas Rheinhardt
From: Anton Khirnov Users should switch to the superior AVFifo API. Unfortunately AVFifoBuffer fields cannot be marked as deprecated because it would trigger a warning wherever fifo.h is #included, due to inlined av_fifo_peek2(). --- doc/APIchanges | 8 libavutil/fifo.c| 4 +