X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fdxva2_hevc.c;h=5a312eaf23368b2e8db299db2f8a8821dc854b1a;hb=18e8fac531cb4b7db3d6d36b222c99e3e8968cfe;hp=79d2d2824e4630d83f1c8a5b8ff7f1be4b0e14c6;hpb=27673f1bea1a390785b8c421213bcc53aca969e4;p=ffmpeg diff --git a/libavcodec/dxva2_hevc.c b/libavcodec/dxva2_hevc.c index 79d2d2824e4..5a312eaf233 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 {