From ad22b93f9e3352099fa43e73896450d8610345c2 Mon Sep 17 00:00:00 2001 From: Florent Revest Date: Fri, 26 Aug 2016 15:32:39 +0200 Subject: [PATCH] Include config.h to have VA_DRIVER_INIT_FUNC The VA_DRIVER_INIT_FUNC macro is defined by configure in config.h, if this header is not included then the init symbol will not be present and libVA will not be able to load this backend. --- src/sunxi_cedrus_drv_video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sunxi_cedrus_drv_video.c b/src/sunxi_cedrus_drv_video.c index 1c7b262..5660677 100644 --- a/src/sunxi_cedrus_drv_video.c +++ b/src/sunxi_cedrus_drv_video.c @@ -31,6 +31,8 @@ #include "surface.h" #include "va_config.h" +#include "config.h" + #include #include "sunxi_cedrus_drv_video.h"