Browse Source

nvenc: Include config.h before checking for D3D11 support

Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
tags/n4.0
Mark Thompson 8 years ago
parent
commit
3fbd4fc476
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/nvenc.h

+ 2
- 2
libavcodec/nvenc.h View File

@@ -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"


Loading…
Cancel
Save