Commit bc05d15c authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent c6a75d01
...@@ -706,8 +706,8 @@ static HRESULT WINAPI wave_stream_sink_GetMediaTypeHandler(IMFStreamSink *iface, ...@@ -706,8 +706,8 @@ static HRESULT WINAPI wave_stream_sink_GetMediaTypeHandler(IMFStreamSink *iface,
static HRESULT WINAPI wave_stream_sink_ProcessSample(IMFStreamSink *iface, IMFSample *sample) static HRESULT WINAPI wave_stream_sink_ProcessSample(IMFStreamSink *iface, IMFSample *sample)
{ {
struct wave_sink *sink = impl_from_IMFStreamSink(iface); struct wave_sink *sink = impl_from_IMFStreamSink(iface);
IMFMediaBuffer *buffer = NULL;
DWORD max_length, length; DWORD max_length, length;
IMFMediaBuffer *buffer;
HRESULT hr = S_OK; HRESULT hr = S_OK;
BYTE *data; BYTE *data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment