diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-11-25 23:05:24 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-11-26 15:40:24 +0000 |
commit | 3fbd4fc47621a5ef0a814814ea0c931821ee074e (patch) | |
tree | 6aec919daf5631b1699e490b123cc2dc696fb48d /libavcodec/nvenc.h | |
parent | 6e0e3e1d8ddc83984876ed0e534fef42e7870b41 (diff) | |
download | ffmpeg-3fbd4fc47621a5ef0a814814ea0c931821ee074e.tar.gz |
nvenc: Include config.h before checking for D3D11 support
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r-- | libavcodec/nvenc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h index 8c1769e768..2e51f1e946 100644 --- a/libavcodec/nvenc.h +++ b/libavcodec/nvenc.h @@ -19,6 +19,8 @@ #ifndef AVCODEC_NVENC_H #define AVCODEC_NVENC_H +#include "config.h" + #if CONFIG_D3D11VA #define COBJMACROS #include "libavutil/hwcontext_d3d11va.h" @@ -28,8 +30,6 @@ typedef void ID3D11Device; #include "compat/nvenc/nvEncodeAPI.h" -#include "config.h" - #include "compat/cuda/dynlink_loader.h" #include "libavutil/fifo.h" #include "libavutil/opt.h" |