diff options
author | Lynne <dev@lynne.ee> | 2020-12-30 22:19:16 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2020-12-30 23:14:46 +0100 |
commit | 53c56585a6bebfd1dd73f73ace5d719120822b0a (patch) | |
tree | ae93f8cbb3e6bf35c2dfaf008e0b93ba935e7276 /libavcodec/codec2utils.h | |
parent | 2f20e35892c866d4e141e73a3e2df16457f9a21a (diff) | |
download | ffmpeg-53c56585a6bebfd1dd73f73ace5d719120822b0a.tar.gz |
hwcontext_drm: make dependency on Linux kernel headers optional
This was introduced in version 4.6. And may not exist all without an
optional package. So to prevent a hard dependency on needing the Linux
kernel headers to compile, make this optional.
Also ignore the status of the ioctl, since it may fail on older kernels
which don't support it. It's okay to ignore as its not fatal and any
serious errors will be caught later by the mmap call.
Diffstat (limited to 'libavcodec/codec2utils.h')
0 files changed, 0 insertions, 0 deletions