]> git.sesse.net Git - ffmpeg/commit
avutil/buffer: add av_buffer_pool_buffer_get_opaque
authorMarton Balint <cus@passwd.hu>
Sat, 7 Dec 2019 00:56:56 +0000 (01:56 +0100)
committerMarton Balint <cus@passwd.hu>
Wed, 25 Dec 2019 23:47:24 +0000 (00:47 +0100)
commit16685114d5999a9b5ab3ea537d89fca3669d94c9
tree635c8f50f3f15c2ad9a34182972216a761f042e3
parente3dca0744d21aa8d2c6f31f74a0e2142376333e1
avutil/buffer: add av_buffer_pool_buffer_get_opaque

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@passwd.hu>
doc/APIchanges
libavutil/buffer.c
libavutil/buffer.h
libavutil/version.h