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

Anton Khirnov anton at khirnov.net
Tue Feb 1 12:16:57 EET 2022


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.
>   * @return the number of bytes written to the FIFO or a negative error code on failure
> + *
> + * @deprecated use the new AVFifo-API with av_fifo_write() when func == NULL,
> + *             av_fifo_write_to_cb() otherwise

_from_cb


-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list