Fixup include guard naming
authorTimo Rothenpieler <timo@rothenpieler.org>
Fri, 15 Dec 2017 12:47:16 +0000 (13:47 +0100)
committerTimo Rothenpieler <timo@rothenpieler.org>
Fri, 15 Dec 2017 12:53:15 +0000 (13:53 +0100)
include/ffnvcodec/dynlink_cuda.h
include/ffnvcodec/dynlink_loader.h

index 3a13611ce6458a611e07d790797c8a010e6e8016..32a588dddc6d9c3b1b0e6c98c536ac1227c58da0 100644 (file)
@@ -25,8 +25,8 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#if !defined(AV_COMPAT_DYNLINK_CUDA_H) && !defined(CUDA_VERSION)
-#define AV_COMPAT_DYNLINK_CUDA_H
+#if !defined(FFNV_DYNLINK_CUDA_H) && !defined(CUDA_VERSION)
+#define FFNV_DYNLINK_CUDA_H
 
 #include <stddef.h>
 
index cf1fa7616478bd2a6d70dc1c9ba9b2ace58bc52b..b291f81799d0226993c27bde56fde5ece3f1ffb9 100644 (file)
@@ -25,8 +25,8 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#ifndef AV_COMPAT_CUDA_DYNLINK_LOADER_H
-#define AV_COMPAT_CUDA_DYNLINK_LOADER_H
+#ifndef FFNV_CUDA_DYNLINK_LOADER_H
+#define FFNV_CUDA_DYNLINK_LOADER_H
 
 #include <stdlib.h>
 
@@ -134,7 +134,7 @@ error:                              \
     free(*functions);                      \
     *functions = NULL;
 
-#ifdef AV_COMPAT_DYNLINK_CUDA_H
+#ifdef FFNV_DYNLINK_CUDA_H
 typedef struct CudaFunctions {
     tcuInit *cuInit;
     tcuDeviceGetCount *cuDeviceGetCount;
@@ -193,7 +193,7 @@ typedef struct NvencFunctions {
     FFNV_LIB_HANDLE lib;
 } NvencFunctions;
 
-#ifdef AV_COMPAT_DYNLINK_CUDA_H
+#ifdef FFNV_DYNLINK_CUDA_H
 static inline void cuda_free_functions(CudaFunctions **functions)
 {
     GENERIC_FREE_FUNC();
@@ -210,7 +210,7 @@ static inline void nvenc_free_functions(NvencFunctions **functions)
     GENERIC_FREE_FUNC();
 }
 
-#ifdef AV_COMPAT_DYNLINK_CUDA_H
+#ifdef FFNV_DYNLINK_CUDA_H
 static inline int cuda_load_functions(CudaFunctions **functions, void *logctx)
 {
     GENERIC_LOAD_FUNC_PREAMBLE(CudaFunctions, cuda, CUDA_LIBNAME);