windowscodecs: Do not assume that vtable is the first element of the object.

This commit is contained in:
Dmitry Timoshkov 2012-07-24 15:06:15 +09:00 committed by Alexandre Julliard
parent adbcfacb8c
commit f97bc0fa2d
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ static HRESULT WINAPI FlipRotator_QueryInterface(IWICBitmapFlipRotator *iface, R
IsEqualIID(&IID_IWICBitmapSource, iid) ||
IsEqualIID(&IID_IWICBitmapFlipRotator, iid))
{
*ppv = This;
*ppv = &This->IWICBitmapFlipRotator_iface;
}
else
{