msvfw32: Do not overwrite fccType in the codec enumeration proc.
This commit is contained in:
parent
ad4d9e7387
commit
3f2e9681a6
|
@ -181,7 +181,6 @@ static BOOL ICInfo_enum_handler(const char *drv, int nr, void *param)
|
||||||
if ((lpicinfo->fccHandler != nr) && (lpicinfo->fccHandler != fccHandler))
|
if ((lpicinfo->fccHandler != nr) && (lpicinfo->fccHandler != fccHandler))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
lpicinfo->fccType = mmioStringToFOURCCA(drv, 0);
|
|
||||||
lpicinfo->fccHandler = fccHandler;
|
lpicinfo->fccHandler = fccHandler;
|
||||||
lpicinfo->dwFlags = 0;
|
lpicinfo->dwFlags = 0;
|
||||||
lpicinfo->dwVersion = 0;
|
lpicinfo->dwVersion = 0;
|
||||||
|
@ -209,6 +208,7 @@ BOOL VFWAPI ICInfo( DWORD fccType, DWORD fccHandler, ICINFO *lpicinfo)
|
||||||
TRACE("(%s,%s/%08lx,%p)\n",
|
TRACE("(%s,%s/%08lx,%p)\n",
|
||||||
wine_dbgstr_fcc(fccType), wine_dbgstr_fcc(fccHandler), fccHandler, lpicinfo);
|
wine_dbgstr_fcc(fccType), wine_dbgstr_fcc(fccHandler), fccHandler, lpicinfo);
|
||||||
|
|
||||||
|
lpicinfo->fccType = fccType;
|
||||||
lpicinfo->fccHandler = fccHandler;
|
lpicinfo->fccHandler = fccHandler;
|
||||||
return enum_drivers(fccType, ICInfo_enum_handler, lpicinfo);
|
return enum_drivers(fccType, ICInfo_enum_handler, lpicinfo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue