avifil32: Avoid a cast from a COM object to an iface.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-08-11 10:49:26 +02:00 committed by Alexandre Julliard
parent 9815806f16
commit b7b031aa43
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ PGETFRAME AVIFILE_CreateGetFrame(PAVISTREAM pStream)
IAVIStream_AddRef(pStream);
}
return (PGETFRAME)pg;
return &pg->IGetFrame_iface;
}
/***********************************************************************/