From: Gijs Vermeulen Subject: [PATCH 2/4] qcap: Fix uninitialised variable warning. Message-Id: <20200501173625.9016-2-gijsvrm@gmail.com> Date: Fri, 1 May 2020 19:36:23 +0200 In-Reply-To: <20200501173625.9016-1-gijsvrm@gmail.com> References: <20200501173625.9016-1-gijsvrm@gmail.com> Signed-off-by: Gijs Vermeulen --- dlls/qcap/filewriter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/qcap/filewriter.c b/dlls/qcap/filewriter.c index 5e63facf7b..53615d658c 100644 --- a/dlls/qcap/filewriter.c +++ b/dlls/qcap/filewriter.c @@ -72,8 +72,9 @@ static HRESULT WINAPI file_writer_sink_receive(struct strmbase_sink *iface, IMed struct file_writer *filter = impl_from_strmbase_pin(&iface->pin); REFERENCE_TIME start, stop; LARGE_INTEGER offset; + DWORD size = 0; HRESULT hr; - DWORD size; + BYTE *data; if ((hr = IMediaSample_GetTime(sample, &start, &stop)) != S_OK) -- 2.26.1