avifil32: Use SetRectEmpty() instead of memset().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2017-04-17 21:42:03 +02:00 committed by Alexandre Julliard
parent 79147c8658
commit 78c49a4d32

View file

@ -314,7 +314,7 @@ static HRESULT WINAPI IAVIFile_fnCreateStream(IAVIFile *iface, IAVIStream **avis
This->sInfo.dwStart = 0; This->sInfo.dwStart = 0;
This->sInfo.dwInitialFrames = 0; This->sInfo.dwInitialFrames = 0;
This->sInfo.dwFormatChangeCount = 0; This->sInfo.dwFormatChangeCount = 0;
memset(&This->sInfo.rcFrame, 0, sizeof(This->sInfo.rcFrame)); SetRectEmpty(&This->sInfo.rcFrame);
This->fInfo.dwStreams = 1; This->fInfo.dwStreams = 1;
This->fInfo.dwScale = This->sInfo.dwScale; This->fInfo.dwScale = This->sInfo.dwScale;