summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_internal.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-11 17:50:24 +0100
committerJames Almer <jamrial@gmail.com>2024-03-07 08:53:31 -0300
commit060277136d1ce028d9ae619196951e03d3bcd594 (patch)
treeaf8f5f61594d25c7f39faa2682066ae07dd8f5d6 /libavutil/hwcontext_internal.h
parent51f04054506fa1b9baaf79a6b37aac34d988b944 (diff)
avutil/hwcontext: Remove unused AVHWDeviceInternal.priv
It is no longer used by any hwcontext, as they all allocate their private data together with their public data and access it via AVHWDeviceContext.hwctx. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/hwcontext_internal.h')
-rw-r--r--libavutil/hwcontext_internal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavutil/hwcontext_internal.h b/libavutil/hwcontext_internal.h
index 4df516ee6a..374c6dde2f 100644
--- a/libavutil/hwcontext_internal.h
+++ b/libavutil/hwcontext_internal.h
@@ -41,11 +41,6 @@ typedef struct HWContextType {
* i.e. AVHWDeviceContext.hwctx
*/
size_t device_hwctx_size;
- /**
- * size of the private data, i.e.
- * AVHWDeviceInternal.priv
- */
- size_t device_priv_size;
/**
* Size of the hardware-specific device configuration.
@@ -102,7 +97,6 @@ typedef struct HWContextType {
struct AVHWDeviceInternal {
const HWContextType *hw_type;
- void *priv;
/**
* For a derived device, a reference to the original device