diff --git a/dll/win32/msvidc32/msvideo1.c b/dll/win32/msvidc32/msvideo1.c index 578630a39b0..b80033f3f11 100644 --- a/dll/win32/msvidc32/msvideo1.c +++ b/dll/win32/msvidc32/msvideo1.c @@ -538,7 +538,11 @@ static LRESULT CRAM_GetInfo( const Msvideo1Context *info, ICINFO *icinfo, DWORD icinfo->dwSize = sizeof(ICINFO); icinfo->fccType = ICTYPE_VIDEO; +#ifdef __REACTOS__ + icinfo->fccHandler = MSVC_MAGIC; +#else icinfo->fccHandler = info ? info->dwMagic : CRAM_MAGIC; +#endif icinfo->dwFlags = 0; icinfo->dwVersion = ICVERSION; icinfo->dwVersionICM = ICVERSION; @@ -583,11 +587,7 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg, if( info ) { memset( info, 0, sizeof *info ); -#ifdef __REACTOS__ - info->dwMagic = MSVC_MAGIC; -#else info->dwMagic = CRAM_MAGIC; -#endif } r = (LRESULT) info; break;