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);
|
TRACE("(%p,%p,%d)\n", hic, picinfo, cb);
|
||||||
|
|
||||||
whic = MSVIDEO_GetHicPtr(hic);
|
|
||||||
if (!whic) return ICERR_BADHANDLE;
|
if (!whic) return ICERR_BADHANDLE;
|
||||||
if (!picinfo) return MMSYSERR_INVALPARAM;
|
if (!picinfo) return MMSYSERR_INVALPARAM;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue