mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
59e3a9aede
commit
798ab1d03e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user