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

2018-03-29 Thread Michael Niedermayer
On Sun, Mar 25, 2018 at 03:17:19PM -0300, James Almer wrote: > On 3/25/2018 2:54 PM, Mark Thompson wrote: > > On 25/03/18 05:03, 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

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

2018-03-25 Thread James Almer
On 3/25/2018 2:54 PM, Mark Thompson wrote: > On 25/03/18 05:03, 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 >> --- >> Better name welcome. >> >> libavcodec/avcodec.h | 18

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

2018-03-25 Thread Mark Thompson
On 25/03/18 05:03, 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 > --- > Better name welcome. > > libavcodec/avcodec.h | 18 +- > libavcodec/avpacket.c | 18 ++

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

2018-03-24 Thread James Almer
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 --- Better name welcome. libavcodec/avcodec.h | 18 +- libavcodec/avpacket.c | 18 ++ 2 files changed, 35 insertions(+), 1 d