Re: [libav-devel] [PATCH 10/16] cbs: Refcount all the things!

2018-02-18 Thread Luca Barbato
On 12/02/2018 02:08, Mark Thompson wrote: On 12/02/18 00:31, James Almer wrote: On 2/11/2018 3:14 PM, Mark Thompson wrote: +int ff_cbs_alloc_unit_content(CodedBitstreamContext *ctx, + CodedBitstreamUnit *unit, + size_t size, +

Re: [libav-devel] [PATCH 10/16] cbs: Refcount all the things!

2018-02-11 Thread Mark Thompson
On 12/02/18 00:31, James Almer wrote: > On 2/11/2018 3:14 PM, Mark Thompson wrote: >> +int ff_cbs_alloc_unit_content(CodedBitstreamContext *ctx, >> + CodedBitstreamUnit *unit, >> + size_t size, >> + void (*free)(

Re: [libav-devel] [PATCH 10/16] cbs: Refcount all the things!

2018-02-11 Thread James Almer
On 2/11/2018 3:14 PM, Mark Thompson wrote: > +int ff_cbs_alloc_unit_content(CodedBitstreamContext *ctx, > + CodedBitstreamUnit *unit, > + size_t size, > + void (*free)(void *opaque, uint8_t *data)) > +{ > +av

Re: [libav-devel] [PATCH 10/16] cbs: Refcount all the things!

2018-02-11 Thread Mark Thompson
On 11/02/18 20:13, wm4 wrote: > On Sun, 11 Feb 2018 18:14:34 + > Mark Thompson wrote: > >> --- >> libavcodec/cbs.c | 168 +--- >> libavcodec/cbs.h | 51 - >> libavcodec/cbs_h264.h | 4 + >> libavcodec/cbs_h2645.c

Re: [libav-devel] [PATCH 10/16] cbs: Refcount all the things!

2018-02-11 Thread wm4
On Sun, 11 Feb 2018 18:14:34 + Mark Thompson wrote: > --- > libavcodec/cbs.c | 168 +--- > libavcodec/cbs.h | 51 - > libavcodec/cbs_h264.h | 4 + > libavcodec/cbs_h2645.c | 341 > +++

[libav-devel] [PATCH 10/16] cbs: Refcount all the things!

2018-02-11 Thread Mark Thompson
--- libavcodec/cbs.c | 168 +--- libavcodec/cbs.h | 51 - libavcodec/cbs_h264.h | 4 + libavcodec/cbs_h2645.c | 341 +++-- libavcodec/cbs_h265.h | 2 + lib