summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2018-11-17 08:16:28 -0800
committerPhilip Langdale <philipl@overt.org>2018-11-17 08:18:51 -0800
commit420ab946ace27e4b4bfb6c2be0a65a4ffd6e05a1 (patch)
tree04596175d4ca3e912eb18de36db6b84e50fb1de3
parentfbea2ea76ef9ec7119e91783bd7e460b2404df12 (diff)
avutil/cuda_check: Make sure this passes make fate-source
The header guards were unnecessarily non-standard and the c file inclusion trick means the files dont't have standard licence headers. Based on a patch by: Martin Vignali <martin.vignali@gmail.com>
-rw-r--r--libavutil/cuda_check.h6
-rw-r--r--tests/ref/fate/source2
2 files changed, 5 insertions, 3 deletions
diff --git a/libavutil/cuda_check.h b/libavutil/cuda_check.h
index 0d45538c2f..b8e5f65cbb 100644
--- a/libavutil/cuda_check.h
+++ b/libavutil/cuda_check.h
@@ -17,8 +17,8 @@
*/
-#ifndef FF_CUDA_CHECK_H
-#define FF_CUDA_CHECK_H
+#ifndef AVUTIL_CUDA_CHECK_H
+#define AVUTIL_CUDA_CHECK_H
/**
* Wrap a CUDA function call and print error information if it fails.
@@ -40,4 +40,4 @@ int ff_cuda_check(void *avctx,
#define FF_CUDA_CHECK_DL(avclass, cudl, x) ff_cuda_check(avclass, cudl->cuGetErrorName, cudl->cuGetErrorString, (x), #x)
-#endif /* FF_CUDA_CHECK_H */
+#endif /* AVUTIL_CUDA_CHECK_H */
diff --git a/tests/ref/fate/source b/tests/ref/fate/source
index 4b9467aa77..b35f016127 100644
--- a/tests/ref/fate/source
+++ b/tests/ref/fate/source
@@ -1,6 +1,7 @@
Files without standard license headers:
compat/avisynth/windowsPorts/basicDataTypeConversions.h
compat/avisynth/windowsPorts/windows2linux.h
+libavcodec/cuda_check.c
libavcodec/file_open.c
libavcodec/ilbcdata.h
libavcodec/ilbcdec.c
@@ -9,6 +10,7 @@ libavcodec/log2_tab.c
libavcodec/reverse.c
libavdevice/file_open.c
libavdevice/reverse.c
+libavfilter/cuda_check.c
libavfilter/log2_tab.c
libavformat/file_open.c
libavformat/golomb_tab.c