[vlc-commits] direct3d9: Fix build

Hugo Beauzée-Luyssen git at videolan.org
Thu Apr 6 10:20:32 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Apr  6 10:19:54 2017 +0200| [eba4e52911dc44c238e1af725146f4cd433eb066] | committer: Hugo Beauzée-Luyssen

direct3d9: Fix build

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eba4e52911dc44c238e1af725146f4cd433eb066
---

 modules/video_output/win32/direct3d9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index 48dcd74..93a3d29 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -360,7 +360,7 @@ static picture_pool_t *Direct3D9CreateDirectRenderingPool(vout_display_t *vd, un
     picture_t**       pictures = NULL;
     unsigned          picture_count = 0;
 
-    assert( is_d3d9_opaque(vd->fmt->i_chroma) == true );
+    assert( is_d3d9_opaque(vd->fmt.i_chroma) == true );
 
     pictures = calloc(count, sizeof(*pictures));
     if (!pictures)



More information about the vlc-commits mailing list