mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 13:37:03 +02:00
Silenced a warning about ignoring a return value of write().
This commit is contained in:
parent
9a19009451
commit
0eff9de2ee
4
device.c
4
device.c
@ -432,8 +432,8 @@ bool cIptvDevice::GetTSPacket(uchar *&Data)
|
||||
// Update pid statistics
|
||||
AddPidStatistic(ts_pid(p), payload(p));
|
||||
// Send data also to dvr fifo
|
||||
if (dvrFd >= 0)
|
||||
write(dvrFd, p, TS_SIZE);
|
||||
if ((dvrFd >= 0) && (write(dvrFd, p, TS_SIZE) != TS_SIZE))
|
||||
error("ERROR: write failed to FIFO\n");
|
||||
// Analyze incomplete streams with built-in pid analyzer
|
||||
if (pidScanEnabled && pPidScanner)
|
||||
pPidScanner->Process(p);
|
||||
|
Loading…
Reference in New Issue
Block a user