summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-05-11 16:26:22 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-05-11 17:24:49 +0200
commit716a77bdb80e72abcd3ba182f87df6b205a22756 (patch)
tree68042ba26059ea44651997338a8f7492221500f6 /configure.ac
parent4ec716419da3d2817ea11a3acb6cd548eeaf4477 (diff)
downloadvaapi-intel-driver-716a77bdb80e72abcd3ba182f87df6b205a22756.tar.gz
vaapi-intel-driver-716a77bdb80e72abcd3ba182f87df6b205a22756.tar.bz2
vaapi-intel-driver-716a77bdb80e72abcd3ba182f87df6b205a22756.zip
jpeg: fix configure check for newer API.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6d081a9..9948178 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,10 +97,11 @@ AC_CACHE_CHECK([for JPEG decoding API], ac_cv_have_jpeg_decoding_api, [
saved_LIBS="$LIBS"
LIBS="$CFLAGS $LIBVA_DEPS_LIBS"
AC_TRY_COMPILE(
- [#include <va/va.h>],
+ [#include <va/va.h>
+ #include <va/va_dec_jpeg.h>],
[VAPictureParameterBufferJPEG pic_param;
VASliceParameterBufferJPEG slice_param;
- VAIQMatrixBufferJPEG iq_matrix;],
+ VAIQMatrixParameterBufferJPEG iq_matrix;],
[ac_cv_have_jpeg_decoding_api="yes"],
[ac_cv_have_jpeg_decoding_api="no"]
)