summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-03-18 18:34:38 +0000
committerMark Thompson <sw@jkqxz.net>2018-03-18 18:34:38 +0000
commit0f3d1c69b5ed2206e061261503b0c34b3bfda617 (patch)
tree0733bd440f37413aaf7e49f8dccada28ed5bf92e /libavutil
parentc99f837ddecad977018fd4d737c6070d167521c4 (diff)
downloadffmpeg-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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index 99f76b9169..3797005433 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