Commit 798ab1d0 authored by Linjie Fu's avatar Linjie Fu Committed by Mark Thompson

lavc/vaapi_decode: fix the build failure when hevc_vaapi is disabled

Verified with ./configure --enable-vaapi --disable-hwaccel=hevc_vaapi

Failure reported in:
http://fate.ffmpeg.org/report.cgi?time=20200401135031&slot=x86_64-archlinux-gcc-randomSigned-off-by: 's avatarLinjie Fu <linjie.fu@intel.com>
parent 59e3a9ae
...@@ -389,7 +389,7 @@ static const struct { ...@@ -389,7 +389,7 @@ static const struct {
MAP(HEVC, HEVC_MAIN_STILL_PICTURE, MAP(HEVC, HEVC_MAIN_STILL_PICTURE,
HEVCMain ), HEVCMain ),
#endif #endif
#if VA_CHECK_VERSION(1, 2, 0) #if VA_CHECK_VERSION(1, 2, 0) && CONFIG_HEVC_VAAPI_HWACCEL
MAP(HEVC, HEVC_REXT, None, MAP(HEVC, HEVC_REXT, None,
ff_vaapi_parse_hevc_rext_profile ), ff_vaapi_parse_hevc_rext_profile ),
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment