windowscodecs: Avoid using uninitialized value (LLVM/Clang).

This commit is contained in:
Nicolas Le Cam 2012-07-14 16:14:41 +02:00 committed by Alexandre Julliard
parent 0816a04d92
commit 986b98160b
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ static HRESULT WINAPI BmpFrameEncode_WriteSource(IWICBitmapFrameEncode *iface,
This->stride*(This->height-This->lineswritten),
This->bits + This->stride*This->lineswritten);
This->lineswritten += rc.Height;
This->lineswritten += prc->Height;
return S_OK;
}