diff --git a/libavcodec/dxva2.h b/libavcodec/dxva2.h index 53a00fff1744c84fc7002a93ab61d3274ab59dd2..374ae039ac00b7da42682f00cfd86c3860e7045d 100644 --- a/libavcodec/dxva2.h +++ b/libavcodec/dxva2.h @@ -25,6 +25,7 @@ #include <stdint.h> +#include <d3d9.h> #include <dxva2api.h> #define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards