windowscodecs: GetThumbnail of the PNG decoder should return NULL interface.
This commit is contained in:
parent
9fbd3bbed6
commit
03c9c3ce44
|
@ -645,6 +645,10 @@ static HRESULT WINAPI PngDecoder_GetThumbnail(IWICBitmapDecoder *iface,
|
|||
IWICBitmapSource **ppIThumbnail)
|
||||
{
|
||||
TRACE("(%p,%p)\n", iface, ppIThumbnail);
|
||||
|
||||
if (!ppIThumbnail) return E_INVALIDARG;
|
||||
|
||||
*ppIThumbnail = NULL;
|
||||
return WINCODEC_ERR_CODECNOTHUMBNAIL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue