mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-25 08:06:30 +00:00
[obs] allow for the larger KVMFR header size now
This commit is contained in:
parent
fdb38a227e
commit
297d0be2dc
2
obs/lg.c
2
obs/lg.c
@ -403,7 +403,7 @@ static void lgUpdate(void * data, obs_data_t * settings)
|
|||||||
!= LGMP_OK)
|
!= LGMP_OK)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (udataSize != sizeof(KVMFR) ||
|
if (udataSize < sizeof(KVMFR) ||
|
||||||
memcmp(udata->magic, KVMFR_MAGIC, sizeof(udata->magic)) != 0 ||
|
memcmp(udata->magic, KVMFR_MAGIC, sizeof(udata->magic)) != 0 ||
|
||||||
udata->version != KVMFR_VERSION)
|
udata->version != KVMFR_VERSION)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user