aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_agate.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-04 11:59:16 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-10-07 22:35:05 +0200
commit3e9b8d14e5d0df72765a1c9ca683c9d0f1d51e1a (patch)
treefd1b7cbc5358212171beb26f98e21cc0bf02216e /libavfilter/af_agate.c
parent56dd585146288070c98a9429ae85dc3551940a4b (diff)
downloadffmpeg-3e9b8d14e5d0df72765a1c9ca683c9d0f1d51e1a.tar.gz
avcodec/cbs: Use RefStruct-API for unit content
This avoids allocations and error checks etc. as well as duplicate pointer lists in the CodedBitstreamFooContexts. It also avoids casting const away for use as opaque, as the RefStruct API supports const opaques. The fact that some of the units are not refcounted (i.e. they are sometimes part of an encoding context like VAAPIEncodeH264Context) meant that CodedBitstreamUnit still contains two pointers, one to the content and another ownership pointer, replacing the AVBufferRef* pointer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/af_agate.c')
0 files changed, 0 insertions, 0 deletions