Commit 3fbd4fc4 authored by Mark Thompson's avatar Mark Thompson

nvenc: Include config.h before checking for D3D11 support

Reviewed-by: 's avatarTimo Rothenpieler <timo@rothenpieler.org>
parent 6e0e3e1d
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment