Signed-off-by: Gijs Vermeulen gijsvrm@gmail.com --- 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)