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

Michael Niedermayer michael at niedermayer.cc
Sun Apr 1 17:12:17 EEST 2018


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180401/9b587546/attachment.sig>


More information about the ffmpeg-devel mailing list