mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
use correct fd
This commit is contained in:
parent
1cb42ad5bf
commit
ecc5aeb15a
@ -599,15 +599,14 @@ int dddvb_ca_write(struct dddvb *dd, uint32_t nr, uint8_t *buf, uint32_t len)
|
|||||||
{
|
{
|
||||||
struct dddvb_ca *ca = &dd->dvbca[nr];
|
struct dddvb_ca *ca = &dd->dvbca[nr];
|
||||||
|
|
||||||
return write(ca->wfd, buf, len);
|
return write(ca->ci_wfd, buf, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
int dddvb_ca_read(struct dddvb *dd, uint32_t nr, uint8_t *buf, uint32_t len)
|
int dddvb_ca_read(struct dddvb *dd, uint32_t nr, uint8_t *buf, uint32_t len)
|
||||||
{
|
{
|
||||||
struct dddvb_ca *ca = &dd->dvbca[nr];
|
struct dddvb_ca *ca = &dd->dvbca[nr];
|
||||||
|
|
||||||
return read(ca->rfd, buf, len);
|
return read(ca->ci_rfd, buf, len);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int dddvb_ca_set_pmts(struct dddvb *dd, uint32_t nr, uint8_t **pmts)
|
int dddvb_ca_set_pmts(struct dddvb *dd, uint32_t nr, uint8_t **pmts)
|
||||||
|
Loading…
Reference in New Issue
Block a user