--- vlc-2.2.4.orig/modules/codec/avcodec/vaapi.c	2015-02-02 20:42:29.000000000 +0100
+++ vlc-2.2.4/modules/codec/avcodec/vaapi.c	2016-09-24 20:35:02.681191261 +0200
@@ -595,7 +595,7 @@ static int Create( vlc_va_t *p_va, AVCod
         return err;
 
     /* Only VLD supported */
-    p_va->pix_fmt = PIX_FMT_VAAPI_VLD;
+    p_va->pix_fmt = AV_PIX_FMT_VAAPI_VLD;
     p_va->setup = Setup;
     p_va->get = Get;
     p_va->release = Release;
