aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-11 22:16:32 +0100
committerJames Almer <jamrial@gmail.com>2024-03-07 08:53:31 -0300
commit3e669b24e282594ab92ef50c839bb1fdc01331b4 (patch)
tree2b11f6af5630dae3717866cbb7cf5c2be64c1e64 /libavcodec
parenta0b9b96269b48298eddb927059cb4dfea6725167 (diff)
downloadffmpeg-3e669b24e282594ab92ef50c839bb1fdc01331b4.tar.gz
avutil/hwcontext: Allocate AVHWFramesCtx jointly with its internals
This is possible because the lifetime of these structures coincide. It has the advantage of allowing to remove AVHWFramesInternal from the public header; given that AVHWFramesInternal.priv is no more, most accesses to AVHWFramesInternal are no more; indeed, the only field accessed of it outside of hwcontext.c is the internal frame pool, making this commit very simple. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions