I'm pretty sure you can just cast IWICBitmapFrameDecode to IWICBitmapSource, and you don't need to use QueryInterface.
On 03/12/15 02:54, Vincent Povirk wrote:
I'm pretty sure you can just cast IWICBitmapFrameDecode to IWICBitmapSource, and you don't need to use QueryInterface.
You're right. I've just copied this code from original decode_image_wic.
Thanks, Piotr