On 09/07/2018 03:58 AM, Alistair Leslie-Hughes wrote:
+static HRESULT WINAPI mfbuffer_Lock(IMFMediaBuffer *iface, BYTE **buffer, DWORD *max, DWORD *current) +{
- mfbuffer *This = impl_from_IMFMediaBuffer(iface);
- TRACE("%p, %p %p, %p\n", This, buffer, max, current);
- if(!buffer)
return E_INVALIDARG;
- *buffer = This->buffer;
- if(max)
*max = This->max_length;
- if(current)
*current = This->current;
- return S_OK;
+}
This doesn't lock anything. How did you test this?