mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 11:17:54 +00:00
[obs] allow for the larger KVMFR header size now
This commit is contained in:
parent
fdb38a227e
commit
297d0be2dc
1 changed files with 1 additions and 1 deletions
2
obs/lg.c
2
obs/lg.c
|
@ -403,7 +403,7 @@ static void lgUpdate(void * data, obs_data_t * settings)
|
|||
!= LGMP_OK)
|
||||
return;
|
||||
|
||||
if (udataSize != sizeof(KVMFR) ||
|
||||
if (udataSize < sizeof(KVMFR) ||
|
||||
memcmp(udata->magic, KVMFR_MAGIC, sizeof(udata->magic)) != 0 ||
|
||||
udata->version != KVMFR_VERSION)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue