1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

mfsrcsnk/wave: Initialize buffer pointer in ProcessSample() (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2022-08-31 09:38:05 +03:00 committed by Alexandre Julliard
parent c6a75d01b5
commit bc05d15cf1

View File

@ -706,8 +706,8 @@ static HRESULT WINAPI wave_stream_sink_GetMediaTypeHandler(IMFStreamSink *iface,
static HRESULT WINAPI wave_stream_sink_ProcessSample(IMFStreamSink *iface, IMFSample *sample)
{
struct wave_sink *sink = impl_from_IMFStreamSink(iface);
IMFMediaBuffer *buffer = NULL;
DWORD max_length, length;
IMFMediaBuffer *buffer;
HRESULT hr = S_OK;
BYTE *data;