mirror of
https://github.com/reactos/wine.git
synced 2025-02-24 15:01:41 +00:00
msvfw32: Only call MSVIDEO_GetHicPtr() once (Coverity).
This commit is contained in:
parent
abdecfbe17
commit
ec90fcd9c1
@ -530,7 +530,6 @@ LRESULT VFWAPI ICGetInfo(HIC hic, ICINFO *picinfo, DWORD cb)
|
||||
|
||||
TRACE("(%p,%p,%d)\n", hic, picinfo, cb);
|
||||
|
||||
whic = MSVIDEO_GetHicPtr(hic);
|
||||
if (!whic) return ICERR_BADHANDLE;
|
||||
if (!picinfo) return MMSYSERR_INVALPARAM;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user