msvfw32: Only call MSVIDEO_GetHicPtr() once (Coverity).

This commit is contained in:
Paul Vriens 2011-03-17 14:58:13 +01:00 committed by Alexandre Julliard
parent abdecfbe17
commit ec90fcd9c1
1 changed files with 0 additions and 1 deletions

View File

@ -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;