diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-26 06:08:32 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-26 06:23:29 +0300 |
commit | 688147cfe2d14bf24d185eb7299be01e511582ba (patch) | |
tree | c4096d453f0d0e5b0ad8dc1a214db868840f1748 /libavcodec | |
parent | 5cddfc53570fe10fa7fe6d0f166f6f0e090466f6 (diff) |
avcodec/hevc: Fix HWACCEL_MAX for D3D11
Found-by: philipl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 028ece82f9..fd6370b83e 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -328,7 +328,7 @@ static void export_stream_params(AVCodecContext *avctx, static int set_sps(HEVCContext *s, const HEVCSPS *sps, enum AVPixelFormat pix_fmt) { - #define HWACCEL_MAX (CONFIG_HEVC_DXVA2_HWACCEL) + #define HWACCEL_MAX (CONFIG_HEVC_DXVA2_HWACCEL + CONFIG_HEVC_D3D11VA_HWACCEL) enum AVPixelFormat pix_fmts[HWACCEL_MAX + 2], *fmt = pix_fmts; int ret, i; |