windowscodecs: TiffDecoder_GetThumbnail should return NULL interface.

This commit is contained in:
Dmitry Timoshkov 2012-06-25 12:26:56 +09:00 committed by Alexandre Julliard
parent 67e7eda96c
commit f07829da57

View File

@ -643,6 +643,10 @@ static HRESULT WINAPI TiffDecoder_GetThumbnail(IWICBitmapDecoder *iface,
IWICBitmapSource **ppIThumbnail)
{
TRACE("(%p,%p)\n", iface, ppIThumbnail);
if (!ppIThumbnail) return E_INVALIDARG;
*ppIThumbnail = NULL;
return WINCODEC_ERR_CODECNOTHUMBNAIL;
}