mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
never used value
Origin commit data
------------------
Branch: ni/coolstream
Commit: 29a3e4a56c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-05-06 (Sun, 06 May 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -234,13 +234,13 @@ int genpsi(int fd2)
|
|||||||
//-- calculate CRC --
|
//-- calculate CRC --
|
||||||
calc_crc32psi(&pkt[data_len], &pkt[OFS_HDR_2], data_len-OFS_HDR_2 );
|
calc_crc32psi(&pkt[data_len], &pkt[OFS_HDR_2], data_len-OFS_HDR_2 );
|
||||||
//-- write TS packet --
|
//-- write TS packet --
|
||||||
// bytes += write(fd2, pkt, SIZE_TS_PKT);
|
/*bytes +=*/ write(fd2, pkt, SIZE_TS_PKT);
|
||||||
//-- (II) build PAT --
|
//-- (II) build PAT --
|
||||||
data_len = COPY_TEMPLATE(pkt, pkt_pat);
|
data_len = COPY_TEMPLATE(pkt, pkt_pat);
|
||||||
//-- calculate CRC --
|
//-- calculate CRC --
|
||||||
calc_crc32psi(&pkt[data_len], &pkt[OFS_HDR_2], data_len-OFS_HDR_2 );
|
calc_crc32psi(&pkt[data_len], &pkt[OFS_HDR_2], data_len-OFS_HDR_2 );
|
||||||
//-- write TS packet --
|
//-- write TS packet --
|
||||||
// bytes += write(fd2, pkt, SIZE_TS_PKT);
|
/*bytes +=*/ write(fd2, pkt, SIZE_TS_PKT);
|
||||||
|
|
||||||
//-- (III) build PMT --
|
//-- (III) build PMT --
|
||||||
data_len = COPY_TEMPLATE(pkt, pkt_pmt);
|
data_len = COPY_TEMPLATE(pkt, pkt_pmt);
|
||||||
@@ -274,7 +274,7 @@ int genpsi(int fd2)
|
|||||||
//-- calculate CRC --
|
//-- calculate CRC --
|
||||||
calc_crc32psi(&pkt[data_len], &pkt[OFS_HDR_2], data_len-OFS_HDR_2 );
|
calc_crc32psi(&pkt[data_len], &pkt[OFS_HDR_2], data_len-OFS_HDR_2 );
|
||||||
//-- write TS packet --
|
//-- write TS packet --
|
||||||
// bytes += write(fd2, pkt, SIZE_TS_PKT);
|
/*bytes +=*/ write(fd2, pkt, SIZE_TS_PKT);
|
||||||
//-- finish --
|
//-- finish --
|
||||||
avPids.vpid=0;
|
avPids.vpid=0;
|
||||||
avPids.nba=0;
|
avPids.nba=0;
|
||||||
|
Reference in New Issue
Block a user