Skip to content

Commit

Permalink
Adopted to Ubuntu-18.04 and CentOS 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyaevseev committed Oct 15, 2018
1 parent b7a1723 commit 8d17583
Show file tree
Hide file tree
Showing 3 changed files with 276 additions and 169 deletions.
169 changes: 0 additions & 169 deletions compile-ffmpeg-nvenc.sh

This file was deleted.

15 changes: 15 additions & 0 deletions dynlink_cuda.h.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- ffmpeg-build-static-binaries/include/ffnvcodec/dynlink_cuda.h.orig 2018-10-14 21:53:25.000000000 +0300
+++ ffmpeg-build-static-binaries/include/ffnvcodec/dynlink_cuda.h 2018-10-14 22:01:15.791295749 +0300
@@ -100,9 +100,12 @@
CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE = 5,
} CUexternalMemoryHandleType;

+#ifndef CU_UUID_HAS_BEEN_DEFINED
+#define CU_UUID_HAS_BEEN_DEFINED
typedef struct CUuuid_st {
char bytes[16];
} CUuuid;
+#endif

typedef struct CUDA_MEMCPY2D_st {
size_t srcXInBytes;
Loading

0 comments on commit 8d17583

Please sign in to comment.