]> git.sesse.net Git - ffmpeg/commit
hwcontext_vulkan: fix uploading and downloading from/to flipped images
authorLynne <dev@lynne.ee>
Tue, 26 May 2020 11:01:54 +0000 (12:01 +0100)
committerLynne <dev@lynne.ee>
Tue, 26 May 2020 11:03:42 +0000 (12:03 +0100)
commit64b12624e2d36beda90a4725e3ee43d7d0723213
tree91ef3c49a42f02583745b705e3f450857b86e45d
parent2502e13b073370edd62451808ed286f2d7d7a196
hwcontext_vulkan: fix uploading and downloading from/to flipped images

We want to copy the lowest amount of bytes per line, but while the buffer
stride is sanitized, the src/dst stride can be negative, and negative numbers
of bytes do not make a lot of sense.
libavutil/hwcontext_vulkan.c