Commit 2886471d authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

avifil32: Use correct AddRef helpers.

parent ff0ed20c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment