From: Jaroslav Kysela Date: Sun, 3 Sep 2017 07:43:56 +0000 (+0200) Subject: libav: vaapi - fix compilation error for older version of libva X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44ab0458b96fbda6d68c3b7461099ed296a27cdc;p=thirdparty%2Ftvheadend.git libav: vaapi - fix compilation error for older version of libva --- diff --git a/src/libav.c b/src/libav.c index ae9aa218e..6531eca9e 100644 --- a/src/libav.c +++ b/src/libav.c @@ -226,6 +226,7 @@ libav_is_encoder(AVCodec *codec) * */ #if ENABLE_VAAPI +#ifdef VA_FOURCC_I010 static void libav_va_log(int severity, const char *msg) { char *s; @@ -250,6 +251,7 @@ static void libav_va_info_callback(const char *msg) libav_va_log(LOG_INFO, msg); } #endif +#endif /** *