From 29a3e4a56c1c565b06553c16c559f47539421b1c Mon Sep 17 00:00:00 2001 From: satbaby Date: Sun, 6 May 2012 20:03:13 +0200 Subject: [PATCH] never used value --- src/driver/genpsi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/driver/genpsi.c b/src/driver/genpsi.c index 966a27eac..381f0ac50 100644 --- a/src/driver/genpsi.c +++ b/src/driver/genpsi.c @@ -234,13 +234,13 @@ int genpsi(int fd2) //-- calculate CRC -- calc_crc32psi(&pkt[data_len], &pkt[OFS_HDR_2], data_len-OFS_HDR_2 ); //-- write TS packet -- -// bytes += write(fd2, pkt, SIZE_TS_PKT); + /*bytes +=*/ write(fd2, pkt, SIZE_TS_PKT); //-- (II) build PAT -- data_len = COPY_TEMPLATE(pkt, pkt_pat); //-- calculate CRC -- calc_crc32psi(&pkt[data_len], &pkt[OFS_HDR_2], data_len-OFS_HDR_2 ); //-- write TS packet -- -// bytes += write(fd2, pkt, SIZE_TS_PKT); + /*bytes +=*/ write(fd2, pkt, SIZE_TS_PKT); //-- (III) build PMT -- data_len = COPY_TEMPLATE(pkt, pkt_pmt); @@ -274,7 +274,7 @@ int genpsi(int fd2) //-- calculate CRC -- calc_crc32psi(&pkt[data_len], &pkt[OFS_HDR_2], data_len-OFS_HDR_2 ); //-- write TS packet -- -// bytes += write(fd2, pkt, SIZE_TS_PKT); + /*bytes +=*/ write(fd2, pkt, SIZE_TS_PKT); //-- finish -- avPids.vpid=0; avPids.nba=0;