[PATCH 6/7] gdiplus: Fix animated gif frames composition

Dmitry Timoshkov dmitry at baikal.ru
Wed Mar 11 23:33:12 CDT 2015


Dmitry Timoshkov <dmitry at baikal.ru> wrote:

> Piotr Caban <piotr at codeweavers.com> wrote:
> 
> > +    hr = IWICBitmapFrameDecode_QueryInterface(frame, &IID_IWICBitmapSource, (void**)&bmp_source);
> > +    if(FAILED(hr))
> > +        return hr;
> > +    hr = IWICBitmapSource_GetSize(bmp_source, width, height);
> > +    IWICBitmapSource_Release(bmp_source);
> 
> What's wrong with calling appropriate IWICBitmapFrameDecode method directly?

Besides, GpBitmap already has this values cached.

-- 
Dmitry.



More information about the wine-devel mailing list