diff options
author | Lynne <dev@lynne.ee> | 2021-11-20 01:44:10 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-11-20 01:48:45 +0100 |
commit | 135e1c0adf155419a9546f02d620fb2aae95194b (patch) | |
tree | 3efbe61c7058d079bfabb9b285690f70302ac29d /libavutil/lzo.h | |
parent | a132614bba247afac30d3a8b1378c40bd7f672bc (diff) | |
download | ffmpeg-135e1c0adf155419a9546f02d620fb2aae95194b.tar.gz |
lavu/vulkan: check for initialization when freeing buffers
What happens on startup is that ffmpeg.c initializes the filter,
then frees it without feeding a single frame through. With no
input frame, the filter lacks a hardware device. The rest of the
uninit code checks if Vulkan objects exist, which they must if there's
a hardware device, but vk->DeviceWaitIdle does not require an object.
So, add a check for it.
Diffstat (limited to 'libavutil/lzo.h')
0 files changed, 0 insertions, 0 deletions