[vlc-commits] D3D11: fix compilation

Jean-Baptiste Kempf git at videolan.org
Sun Feb 11 11:32:29 CET 2018


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Feb 11 11:32:19 2018 +0100| [6c54d1c42477c894b76bc14e97577bc306469238] | committer: Jean-Baptiste Kempf

D3D11: fix compilation

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

 modules/hw/d3d11/d3d11_surface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/d3d11/d3d11_surface.c b/modules/hw/d3d11/d3d11_surface.c
index e37650678a..359cc7e5a4 100644
--- a/modules/hw/d3d11/d3d11_surface.c
+++ b/modules/hw/d3d11/d3d11_surface.c
@@ -756,7 +756,7 @@ int D3D11OpenCPUConverter( vlc_object_t *obj )
             goto done;
     }
 
-    filter_sys_t *p_sys = vlc_obj_calloc(obj, 1, sizeof(filter_sys_t));
+    p_sys = vlc_obj_calloc(obj, 1, sizeof(filter_sys_t));
     if (!p_sys) {
          err = VLC_ENOMEM;
          goto done;



More information about the vlc-commits mailing list