Re: [libav-devel] [PATCH 01/14] cbs: Allocate the context inside the init function

2017-11-10 Thread Diego Biurrun
On Thu, Nov 09, 2017 at 01:07:43AM +, Mark Thompson wrote: > ... instead of making the caller allocate it themselves. This is "making callers allocate it themselves" sounds more natural to me. Diego ___ libav-devel mailing list

[libav-devel] [PATCH 01/14] cbs: Allocate the context inside the init function

2017-11-08 Thread Mark Thompson
... instead of making the caller allocate it themselves. This is more consistent with other APIs in libav. --- libavcodec/cbs.c| 20 +--- libavcodec/cbs.h| 6 +++--- libavcodec/h264_metadata_bsf.c | 20 ++--