OSDN Git Service

lavu/buffer: add release function
authorLukasz Marek <lukasz.m.luki@gmail.com>
Sun, 23 Feb 2014 22:19:23 +0000 (23:19 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Feb 2014 00:38:52 +0000 (01:38 +0100)
commit3144440004941aa22ffea9933f5e5dfe826df654
tree2a9ad89a5f6a7ddb3b4c3151f6fa6150842dc746
parent774239be717150909219ad2c0696bfb6a50cf2cb
lavu/buffer: add release function

new function allows to unref buffer and obtain its data.

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/buffer.c
libavutil/buffer.h