avutil/hwcontext_vulkan: fixed incorrect memory offset
authorWu Jianhua <jianhua.wu@intel.com>
Wed, 5 Jan 2022 06:33:30 +0000 (14:33 +0800)
committerLynne <dev@lynne.ee>
Wed, 5 Jan 2022 13:13:39 +0000 (14:13 +0100)
commitc4ecc643bb219872325b61544ecba4c95ada8d51
tree9a17923797488ca979b2722eced5d2d80554232e
parentce4d459db186a7d8ac842685cd6256c9ac1b7f25
avutil/hwcontext_vulkan: fixed incorrect memory offset

This commit fixed hwupload in Vulkan:

ffmpeg -init_hw_device vulkan -i test.jpg -vf hwupload,hwdownload,format=yuv420p -y out.jpg

Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
libavutil/hwcontext_vulkan.c