vlc | branch: master | Steve Lhomme <[email protected]> | Tue Jul 23 13:17:58 2019 +0200| [e9c2ac746157f9f04560bf6d7ed45c5c865a8d0b] | committer: Steve Lhomme
hw: d3d: fix odd initilizers > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9c2ac746157f9f04560bf6d7ed45c5c865a8d0b --- modules/hw/d3d11/d3d11_surface.c | 2 +- modules/hw/d3d9/dxa9.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/hw/d3d11/d3d11_surface.c b/modules/hw/d3d11/d3d11_surface.c index afae5b58df..a1d9cbc10f 100644 --- a/modules/hw/d3d11/d3d11_surface.c +++ b/modules/hw/d3d11/d3d11_surface.c @@ -747,7 +747,7 @@ int D3D11OpenCPUConverter( vlc_object_t *obj ) goto done; picture_resource_t res = { - res.pf_destroy = DestroyPicture, + .pf_destroy = DestroyPicture, }; picture_sys_d3d11_t *res_sys = calloc(1, sizeof(picture_sys_d3d11_t)); if (res_sys == NULL) { diff --git a/modules/hw/d3d9/dxa9.c b/modules/hw/d3d9/dxa9.c index 6cc7748daf..d1a34645e2 100644 --- a/modules/hw/d3d9/dxa9.c +++ b/modules/hw/d3d9/dxa9.c @@ -413,7 +413,7 @@ int D3D9OpenCPUConverter( vlc_object_t *obj ) if ( p_filter->fmt_in.video.i_chroma != texDesc.Format ) { picture_resource_t res = { - res.pf_destroy = DestroyPicture, + .pf_destroy = DestroyPicture, }; picture_sys_d3d9_t *res_sys = calloc(1, sizeof(picture_sys_d3d9_t)); if (res_sys == NULL) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
