Zebediah Figura : quartz/vmr9: Zero-initialize the VMR9PresentationInfo struct.
Module: wine Branch: master Commit: 429d09ba12eac20154ec135a2e788d965637d5a4 URL: https://source.winehq.org/git/wine.git/?a=commit;h=429d09ba12eac20154ec135a2... Author: Zebediah Figura <z.figura12(a)gmail.com> Date: Thu Mar 19 18:50:50 2020 -0500 quartz/vmr9: Zero-initialize the VMR9PresentationInfo struct. Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/quartz/vmr9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/quartz/vmr9.c b/dlls/quartz/vmr9.c index e7a588e28a..d111057230 100644 --- a/dlls/quartz/vmr9.c +++ b/dlls/quartz/vmr9.c @@ -262,10 +262,10 @@ static HRESULT WINAPI VMR9_DoRenderSample(struct strmbase_renderer *iface, IMedi { struct quartz_vmr *This = impl_from_IBaseFilter(&iface->filter.IBaseFilter_iface); const HANDLE events[2] = {This->run_event, This->renderer.flush_event}; + VMR9PresentationInfo info = {}; LPBYTE pbSrcStream = NULL; long cbSrcStream = 0; REFERENCE_TIME tStart, tStop; - VMR9PresentationInfo info; HRESULT hr; TRACE("%p %p\n", iface, pSample);
participants (1)
-
Alexandre Julliard