[PATCH 4/7] gdiplus: Don't store stream reference in GpImage, it's done by IWICBitmapDecoder

Dmitry Timoshkov dmitry at baikal.ru
Wed Mar 11 23:08:42 CDT 2015


Piotr Caban <piotr at codeweavers.com> wrote:

> @@ -3808,12 +3816,6 @@ GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage *image, GDIPCONST GUID *d
>      if (image->current_frame == frame)
>          return Ok;
>  
> -    if (!image->stream)
> -    {
> -        TRACE("image doesn't have an associated stream\n");
> -        return Ok;
> -    }

It doesn't make much sence to add this piece of code in previous patch.

-- 
Dmitry.



More information about the wine-devel mailing list