Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-10-15 00:02:00 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2015-10-15 00:02:00 +0300
commitb66a94ab539cbebf8dc6ca53d81dfa47d6dd59ac (patch)
tree7eca566216c54ee427f80203c7b11cc648131dd5 /libavcodec/dxva2_hevc.c
parent0e4528b88e10e3550dd778ac56a1da9d0a136928 (diff)
parent08377f9c3bf6dbe216512a2e05c9fac837b13fc0 (diff)
Merge commit '08377f9c3bf6dbe216512a2e05c9fac837b13fc0'
* commit '08377f9c3bf6dbe216512a2e05c9fac837b13fc0': dxva: Include last the internal header Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/dxva2_hevc.c')
-rw-r--r--libavcodec/dxva2_hevc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/dxva2_hevc.c b/libavcodec/dxva2_hevc.c
index 79d2d2824e..5a312eaf23 100644
--- a/libavcodec/dxva2_hevc.c
+++ b/libavcodec/dxva2_hevc.c
@@ -22,9 +22,13 @@
#include "libavutil/avassert.h"
-#include "dxva2_internal.h"
#include "hevc.h"
+// The headers above may include w32threads.h, which uses the original
+// _WIN32_WINNT define, while dxva2_internal.h redefines it to target a
+// potentially newer version.
+#include "dxva2_internal.h"
+
#define MAX_SLICES 256
struct hevc_dxva2_picture_context {