aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/clearvideodata.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-14 22:16:32 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-15 02:37:56 +0200
commit47b1c0d0db67273e802c369bd9d061ebcad4b971 (patch)
treea7c900264934995fe15682fc2a81ef6511c80019 /libavcodec/clearvideodata.h
parenta6bd2ee7594c8625d4fd3b56e2d7c67b23c36580 (diff)
downloadffmpeg-47b1c0d0db67273e802c369bd9d061ebcad4b971.tar.gz
avutil/hwcontext_vulkan: Improve type-safety
The AVBuffer API uses uint8_t as base type for buffers and therefore its free callbacks need to abide by this. Therefore vulkan_frame_free() used an inappropriate signature which caused casts whenever this function has been called manually. This commit changes this by making vulkan_frame_free() use the proper type and a vulkan_frame_free_cb() that is used as free callback for the AVBuffer API. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/clearvideodata.h')
0 files changed, 0 insertions, 0 deletions