Re: [FFmpeg-devel] [PATCH 08/35] lavu/fifo: add new FIFO read/peek functions

2022-01-13 Thread Andreas Rheinhardt
Anton Khirnov: > As for writing, use separate functions for reading to a buffer and a > callback. Allow the callbacks to limit the amount of data read, > similarly to what is done for writing. > > Consistently use size_t for sizes. > --- > doc/APIchanges | 3 ++- > libavutil/fifo.c | 68 ++

[FFmpeg-devel] [PATCH 08/35] lavu/fifo: add new FIFO read/peek functions

2022-01-11 Thread Anton Khirnov
As for writing, use separate functions for reading to a buffer and a callback. Allow the callbacks to limit the amount of data read, similarly to what is done for writing. Consistently use size_t for sizes. --- doc/APIchanges | 3 ++- libavutil/fifo.c | 68 +