dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9
authorRafaël Carré <funman@videolan.org>
Wed, 7 Dec 2011 15:23:52 +0000 (10:23 -0500)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 7 Dec 2011 15:54:23 +0000 (16:54 +0100)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/dxva2.h

index 53a00ff..374ae03 100644 (file)
@@ -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