mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
mfsrcsnk/wave: Initialize buffer pointer in ProcessSample() (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
c6a75d01b5
commit
bc05d15cf1
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue