[FFmpeg-cvslog] avfilter/*_cuda: don't include internal header

Timo Rothenpieler git at videolan.org
Sun Oct 21 23:57:57 EEST 2018


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Sun Oct 21 22:32:32 2018 +0200| [2797bd5c81ebbfe13eb5bc4261032ded819271cf] | committer: Timo Rothenpieler

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2797bd5c81ebbfe13eb5bc4261032ded819271cf
---

 libavfilter/vf_scale_cuda.c     | 2 +-
 libavfilter/vf_thumbnail_cuda.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c
index 23ac27a7dc..7b2b78c1ed 100644
--- a/libavfilter/vf_scale_cuda.c
+++ b/libavfilter/vf_scale_cuda.c
@@ -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"
diff --git a/libavfilter/vf_thumbnail_cuda.c b/libavfilter/vf_thumbnail_cuda.c
index 09377ca7f4..53df7e0bf7 100644
--- a/libavfilter/vf_thumbnail_cuda.c
+++ b/libavfilter/vf_thumbnail_cuda.c
@@ -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"
 



More information about the ffmpeg-cvslog mailing list