windowscodecs: Avoid using uninitialized value (LLVM/Clang).
This commit is contained in:
parent
0816a04d92
commit
986b98160b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue