Esme Povirk (@madewokherd) commented about dlls/windowscodecs/converter.c:
for (x = 0; x < prc->Width; x++)
{
float f32 = float_16_to_32(*srcpixel++);
*dstpixel++ = f32;
*dstpixel++ = f32;
*dstpixel++ = f32;
*dstpixel++ = 1.0f;
}
srcrow += srcstride;
dstrow += cbStride;
}
}
free(srcdata);
return S_OK;
I think we should pass along any failure from `CopyPixels`?