Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb_psi: handle private data also without ENABLE_MPEGTS_DVB
  • Loading branch information
perexg committed Feb 24, 2015
1 parent 1d8b541 commit 50016a1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/input/mpegts/dvb_psi.c
Expand Up @@ -1425,12 +1425,10 @@ dvb_nit_mux
return -1;
break;
case DVB_DESC_PRIVATE_DATA:
#if ENABLE_MPEGTS_DVB
if (dlen == 4) {
priv = (dptr[0] << 24) | (dptr[1] << 16) | (dptr[2] << 8) | dptr[3];
tvhtrace(mt->mt_name, " private %08X", priv);
}
#endif
break;
case 0x81:
if (priv == 0) goto lcn;
Expand Down Expand Up @@ -1580,12 +1578,10 @@ dvb_nit_callback
// TODO: implement this?
break;
case DVB_DESC_PRIVATE_DATA:
#if ENABLE_MPEGTS_DVB
if (tableid == 0x4A && dlen == 4) {
priv = (dptr[0] << 24) | (dptr[1] << 16) | (dptr[2] << 8) | dptr[3];
tvhtrace(mt->mt_name, " private %08X", priv);
}
#endif
break;
case DVB_DESC_FREESAT_REGIONS:
#if ENABLE_MPEGTS_DVB
Expand Down Expand Up @@ -1719,12 +1715,10 @@ dvb_sdt_mux
return -1;
break;
case DVB_DESC_PRIVATE_DATA:
#if ENABLE_MPEGTS_DVB
if (dlen == 4) {
priv = (dptr[0] << 24) | (dptr[1] << 16) | (dptr[2] << 8) | dptr[3];
tvhtrace(mt->mt_name, " private %08X", priv);
}
#endif
break;
case DVB_DESC_BSKYB_NVOD:
if (priv == 2)
Expand Down

0 comments on commit 50016a1

Please sign in to comment.