diff mbox

[FFmpeg-devel,3/3] cuvid: Use the compat headers for nvcuvid

Message ID 1474432738-13024-4-git-send-email-philipl@overt.org
State Changes Requested
Headers show

Commit Message

Philip Langdale Sept. 21, 2016, 4:38 a.m. UTC
Signed-off-by: Philip Langdale <philipl@overt.org>
---
 libavcodec/cuvid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Timo Rothenpieler Sept. 21, 2016, 3:54 p.m. UTC | #1
On 9/21/2016 6:38 AM, Philip Langdale wrote:
> Signed-off-by: Philip Langdale <philipl@overt.org>
> ---
>  libavcodec/cuvid.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/cuvid.c b/libavcodec/cuvid.c
> index f2e92cf..7fd0b0d 100644
> --- a/libavcodec/cuvid.c
> +++ b/libavcodec/cuvid.c
> @@ -30,7 +30,7 @@
>  #include "avcodec.h"
>  #include "internal.h"
>  
> -#include <nvcuvid.h>
> +#include "compat/cuda/nvcuvid.h"
>  
>  #define MAX_FRAME_COUNT 25

configure also needs to be changed, as it checks the headers for their
capabilities.
diff mbox

Patch

diff --git a/libavcodec/cuvid.c b/libavcodec/cuvid.c
index f2e92cf..7fd0b0d 100644
--- a/libavcodec/cuvid.c
+++ b/libavcodec/cuvid.c
@@ -30,7 +30,7 @@ 
 #include "avcodec.h"
 #include "internal.h"
 
-#include <nvcuvid.h>
+#include "compat/cuda/nvcuvid.h"
 
 #define MAX_FRAME_COUNT 25