[FFmpeg-devel] [PATCH 1/6] avcodec/avpacket: add av_packet_make_refcounted()

James Almer jamrial at gmail.com
Mon Apr 2 06:50:21 EEST 2018


On 4/1/2018 11:12 AM, Michael Niedermayer wrote:
> On Fri, Mar 30, 2018 at 02:24:23PM -0300, James Almer wrote:
>> It works as a drop in replacement for the deprecated av_dup_packet(),
>> to ensure a packet is reference counted.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>  libavcodec/avcodec.h  | 18 +++++++++++++++++-
>>  libavcodec/avpacket.c | 18 ++++++++++++++++++
>>  2 files changed, 35 insertions(+), 1 deletion(-)
> 
> LGTM
> 
> thx

Patchset pushed.


More information about the ffmpeg-devel mailing list