[FFmpeg-devel] [PATCHv2 1/2] avutil/buffer: add av_buffer_pool_buffer_get_opaque

Marton Balint cus at passwd.hu
Thu Dec 26 12:21:22 EET 2019



On Sun, 22 Dec 2019, Marton Balint wrote:

> In order to access the original opaque parameter of a buffer in the buffer
> pool. (The buffer pool implementation overrides the normal opaque parameter but
> also saves it so it is accessible).
>
> v2: add assertion check before dereferencing the BufferPoolEntry.
>
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> doc/APIchanges      |  3 +++
> libavutil/buffer.c  |  8 ++++++++
> libavutil/buffer.h  | 13 +++++++++++++
> libavutil/version.h |  4 ++--
> 4 files changed, 26 insertions(+), 2 deletions(-)

Applied.

Regards,
Marton


More information about the ffmpeg-devel mailing list