mirror of https://git.ffmpeg.org/ffmpeg.git
avutil/hwcontext_vulkan: Cosmetics
The alignment in vulkan_unmap_from_drm() (formerly the clone of vulkan_frame_free()) is nicer than the in vulkan_frame_free(), let's preserve it. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
677635cd04
commit
dfac782b13
|
@ -1787,6 +1787,7 @@ static void vulkan_frame_free(AVHWFramesContext *hwfc, AVVkFrame *f)
|
||||||
|
|
||||||
VkSemaphoreWaitInfo sem_wait = {
|
VkSemaphoreWaitInfo sem_wait = {
|
||||||
.sType = VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO,
|
.sType = VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO,
|
||||||
|
.flags = 0x0,
|
||||||
.pSemaphores = f->sem,
|
.pSemaphores = f->sem,
|
||||||
.pValues = f->sem_value,
|
.pValues = f->sem_value,
|
||||||
.semaphoreCount = nb_images,
|
.semaphoreCount = nb_images,
|
||||||
|
|
Loading…
Reference in New Issue