From 73617ebb17033bbb53237939ebc47d5fe00e2995 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Wed, 22 Sep 2021 22:24:57 +0200 Subject: [PATCH] add timeout for application section Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/36f4dae0cc18e6435b76454a35703a064ae6a372 Author: TangoCash Date: 2021-09-22 (Wed, 22 Sep 2021) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/dmx.cpp | 6 +++++- libgeneric-pc/dmx.cpp | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libarmbox/dmx.cpp b/libarmbox/dmx.cpp index a702646..b1daf4a 100644 --- a/libarmbox/dmx.cpp +++ b/libarmbox/dmx.cpp @@ -437,7 +437,11 @@ bool cDemux::sectionFilter(unsigned short _pid, const unsigned char *const filte //s_flt.pid = 0x0014; to = 30000; break; - /* 0x74 - 0x7D: reserved for future use */ + case 0x74: /* application_information_section */ + s_flt.flags &= ~DMX_CHECK_CRC; /* section has no CRC */ + to = 12000; + break; + /* 0x75 - 0x7D: reserved for future use */ case 0x7E: /* discontinuity_information_section */ s_flt.flags &= ~DMX_CHECK_CRC; /* section has no CRC */ to = 0; diff --git a/libgeneric-pc/dmx.cpp b/libgeneric-pc/dmx.cpp index 3938c1c..5927fbb 100644 --- a/libgeneric-pc/dmx.cpp +++ b/libgeneric-pc/dmx.cpp @@ -334,7 +334,11 @@ bool cDemux::sectionFilter(unsigned short _pid, const unsigned char *const filte //s_flt.pid = 0x0014; to = 30000; break; - /* 0x74 - 0x7D: reserved for future use */ + case 0x74: /* application_information_section */ + s_flt.flags &= ~DMX_CHECK_CRC; /* section has no CRC */ + to = 12000; + break; + /* 0x75 - 0x7D: reserved for future use */ case 0x7E: /* discontinuity_information_section */ s_flt.flags &= ~DMX_CHECK_CRC; /* section has no CRC */ to = 0;