cbs: Allocate the context inside the init function
authorMark Thompson <sw@jkqxz.net>
Thu, 9 Nov 2017 01:03:57 +0000 (01:03 +0000)
committerMark Thompson <sw@jkqxz.net>
Tue, 20 Feb 2018 22:04:12 +0000 (22:04 +0000)
commit2651352988212531038326c44754ece1728c4a3b
tree0a881dcc977760e4181e7018028d790806b72c15
parentcc1c94dacd0642ac1a6cad45deb65071f127d91a
cbs: Allocate the context inside the init function

... instead of making callers allocate it themselves.  This is more
consistent with other APIs in libav.
libavcodec/cbs.c
libavcodec/cbs.h
libavcodec/h264_metadata_bsf.c
libavcodec/h264_redundant_pps_bsf.c
libavcodec/h265_metadata_bsf.c
libavcodec/mpeg2_metadata_bsf.c
libavcodec/trace_headers_bsf.c
libavcodec/vaapi_encode_h264.c
libavcodec/vaapi_encode_h265.c
libavcodec/vaapi_encode_mpeg2.c