Browse Source

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>
tags/n4.3
Linjie Fu Mark Thompson 5 years ago
parent
commit
798ab1d03e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vaapi_decode.c

+ 1
- 1
libavcodec/vaapi_decode.c View File

@@ -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…
Cancel
Save