diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-03-18 18:34:38 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-03-18 18:34:38 +0000 |
commit | 0f3d1c69b5ed2206e061261503b0c34b3bfda617 (patch) | |
tree | 0733bd440f37413aaf7e49f8dccada28ed5bf92e /libavutil | |
parent | c99f837ddecad977018fd4d737c6070d167521c4 (diff) | |
download | ffmpeg-streaming-0f3d1c69b5ed2206e061261503b0c34b3bfda617.zip ffmpeg-streaming-0f3d1c69b5ed2206e061261503b0c34b3bfda617.tar.gz |
hwcontext_vaapi: Always include DRM hwcontext header
Fixes building with VAAPI but not libdrm, which was broken by
389f4c3e0d0a26a7d3d2696017384874cf5e93fa. Just unconditionally include
the header, since it doesn't depend on libdrm being present.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/hwcontext_vaapi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index 99f76b9..3797005 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c @@ -40,15 +40,13 @@ #include "buffer.h" #include "common.h" #include "hwcontext.h" +#include "hwcontext_drm.h" #include "hwcontext_internal.h" #include "hwcontext_vaapi.h" #include "mem.h" #include "pixdesc.h" #include "pixfmt.h" -#if CONFIG_LIBDRM -# include "hwcontext_drm.h" -#endif typedef struct VAAPIDevicePriv { #if HAVE_VAAPI_X11 |