Browse Source

avfilter/*_cuda: don't include internal header

It's not used, and pulls in the ffnvcodec header, which does not neccesarily have to exist to build these filters, since they include the full cuda.h.
tags/n4.1
Timo Rothenpieler 7 years ago
parent
commit
2797bd5c81
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavfilter/vf_scale_cuda.c
  2. +1
    -1
      libavfilter/vf_thumbnail_cuda.c

+ 1
- 1
libavfilter/vf_scale_cuda.c View File

@@ -27,7 +27,7 @@
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
#include "libavutil/hwcontext_cuda.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"


+ 1
- 1
libavfilter/vf_thumbnail_cuda.c View File

@@ -23,7 +23,7 @@
#include <cuda.h>

#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
#include "libavutil/hwcontext_cuda.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"



Loading…
Cancel
Save