diff options
author | Andreas Rheinhardt <[email protected]> | 2024-02-11 18:09:27 +0100 |
---|---|---|
committer | James Almer <[email protected]> | 2024-03-07 08:53:31 -0300 |
commit | dd397d05f1856dd4ca5aff69f17f53c147ba63cb (patch) | |
tree | a79e8a68d9300d152811cd73d2d31fe329dadde1 /libavformat | |
parent | 060277136d1ce028d9ae619196951e03d3bcd594 (diff) |
avutil/hwcontext: Allocate AVHWDevCtx jointly with its internals
This is possible because the lifetime of these structures coincide.
It has the advantage of allowing to remove the AVHWDeviceInternal
from the public header; given that AVHWDeviceInternal.priv is no more,
all accesses to it happen in hwcontext.c, so that this commit moves
the joint structure there.
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions