mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
SET_PID needs pointer of pointer
This commit is contained in:
parent
d69513eb89
commit
f6c13c7a6b
@ -1459,9 +1459,11 @@ static void adjust_no_sessions(struct ossess *oss)
|
||||
|
||||
if (nso->state && (nso->stream == str) &&
|
||||
(nso != oss) && !nso->trans.mcast) {
|
||||
uint8_t *pids = nso->p.pid;
|
||||
|
||||
memcpy(&nso->p, &oss->p, sizeof(struct dvb_params));
|
||||
if (nso->nsfd >= 0)
|
||||
ioctl(nso->nsfd, NS_SET_PIDS, nso->p.pid);
|
||||
ioctl(nso->nsfd, NS_SET_PIDS, &pids);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user