avifil32: Use correct AddRef helpers.

This commit is contained in:
Dmitry Timoshkov 2014-04-08 15:48:57 +09:00 committed by Alexandre Julliard
parent ff0ed20c2f
commit 2886471db1
1 changed files with 2 additions and 2 deletions

View File

@ -274,7 +274,7 @@ static HRESULT WINAPI IAVIFile_fnGetStream(IAVIFile *iface, IAVIStream **avis, D
return AVIERR_NODATA;
*avis = &This->IAVIStream_iface;
IAVIFile_AddRef(*avis);
IAVIStream_AddRef(*avis);
return AVIERR_OK;
}
@ -325,7 +325,7 @@ static HRESULT WINAPI IAVIFile_fnCreateStream(IAVIFile *iface, IAVIStream **avis
This->ckData.cksize = 0;
*avis = &This->IAVIStream_iface;
IAVIFile_AddRef(*avis);
IAVIStream_AddRef(*avis);
return AVIERR_OK;
}