nvencodeapi-Video_Encoder: Fix compile warning on x86_64.

This commit is contained in:
Sebastian Lackner 2016-03-25 04:02:28 +01:00
parent 1b03b0201e
commit 04bb547a4b

View File

@ -1,4 +1,4 @@
From e8580b7171ce93196fd703d6ed36387f133f8a85 Mon Sep 17 00:00:00 2001
From 0822239b97314c586a3830968d755da6d0f27496 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 8 Feb 2015 06:10:26 +0100
Subject: nvencodeapi: First implementation.
@ -45,7 +45,7 @@ index 0000000..a2e58ac
+ nvencodeapi.c
diff --git a/dlls/nvencodeapi/nvencodeapi.c b/dlls/nvencodeapi/nvencodeapi.c
new file mode 100644
index 0000000..7a0f531
index 0000000..91a33fd
--- /dev/null
+++ b/dlls/nvencodeapi/nvencodeapi.c
@@ -0,0 +1,370 @@
@ -287,7 +287,7 @@ index 0000000..7a0f531
+
+static NVENCSTATUS WINAPI NvEncInvalidateRefFrames(void *encoder, uint64_t invalidRefFrameTimeStamp)
+{
+ TRACE("(%p, %llu)\n", encoder, invalidRefFrameTimeStamp);
+ TRACE("(%p, %s)\n", encoder, wine_dbgstr_longlong(invalidRefFrameTimeStamp));
+ return origFunctions.nvEncInvalidateRefFrames(encoder, invalidRefFrameTimeStamp);
+}
+
@ -445,10 +445,10 @@ index 0000000..11d74e8
@@ -0,0 +1 @@
+@ stdcall NvEncodeAPICreateInstance(ptr)
diff --git a/include/Makefile.in b/include/Makefile.in
index 72443e8..bc9148d 100644
index a0232cd..464b0e2 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -482,6 +482,7 @@ SRCDIR_INCLUDES = \
@@ -514,6 +514,7 @@ HEADER_SRCS = \
ntstatus.h \
nvapi.h \
nvcuvid.h \
@ -744,5 +744,5 @@ index 0000000..45e9fb9
+
+#endif /* __WINE_NVENCODEAPI_H */
--
2.2.2
2.7.1