[PATCH] wincodecs: Return WINCODEC_ERR_PALETTEUNAVAILABLE for jpeg decoder frame.

Dmitry Timoshkov dmitry at baikal.ru
Fri Feb 14 07:54:26 CST 2020


Nikolay Sivov <nsivov at codeweavers.com> wrote:

>  static HRESULT WINAPI JpegDecoder_Frame_CopyPalette(IWICBitmapFrameDecode *iface,
>      IWICPalette *pIPalette)
>  {
> -    FIXME("(%p,%p): stub\n", iface, pIPalette);
> -    return E_NOTIMPL;
> +    TRACE("(%p,%p)\n", iface, pIPalette);
> +
> +    return WINCODEC_ERR_PALETTEUNAVAILABLE;
>  }

Probably parameter should also be validated.

-- 
Dmitry.



More information about the wine-devel mailing list