diff options
author | Linjie Fu <linjie.fu@intel.com> | 2020-04-12 23:47:00 +0800 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2020-04-13 14:14:52 +0100 |
commit | 798ab1d03e8df06f2c7dd9a01bb303f368df5de4 (patch) | |
tree | 16794a0c3852592e0b8337c04bdd3d4cf6a3d5ff /libavcodec | |
parent | 59e3a9aede5e2f9271c82583d8724c272ce33a0a (diff) | |
download | ffmpeg-798ab1d03e8df06f2c7dd9a01bb303f368df5de4.tar.gz |
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-random
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vaapi_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c index 54a0ecb47a..5e4f62baad 100644 --- a/libavcodec/vaapi_decode.c +++ b/libavcodec/vaapi_decode.c @@ -389,7 +389,7 @@ static const struct { MAP(HEVC, HEVC_MAIN_STILL_PICTURE, HEVCMain ), #endif -#if VA_CHECK_VERSION(1, 2, 0) +#if VA_CHECK_VERSION(1, 2, 0) && CONFIG_HEVC_VAAPI_HWACCEL MAP(HEVC, HEVC_REXT, None, ff_vaapi_parse_hevc_rext_profile ), #endif |