]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dxva2_hevc.c
Merge commit '65e73bc60f98dc7b26c687e145dfb755d3f2ccfa'
[ffmpeg] / libavcodec / dxva2_hevc.c
index 79d2d2824e4630d83f1c8a5b8ff7f1be4b0e14c6..5a312eaf23368b2e8db299db2f8a8821dc854b1a 100644 (file)
 
 #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 {