Fixed processing SI::T2DeliverySystemDescriptor when typecasting it over an SI::ExtensionDescriptor

This commit is contained in:
Klaus Schmidinger
2019-03-15 16:28:16 +01:00
parent dc160ab570
commit 4b3fec660a
4 changed files with 13 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* $Id: descriptor.c 3.1 2013/10/30 10:16:18 kls Exp $
* $Id: descriptor.c 4.1 2019/03/15 16:12:43 kls Exp $
* *
***************************************************************************/
@@ -870,6 +870,11 @@ int S2SatelliteDeliverySystemDescriptor::getScramblingSequenceIndex() const {
void ExtensionDescriptor::Parse() {
int offset=0;
data.setPointerAndOffset<const descr_extension>(s, offset);
extended_data_flag = s->descriptor_length > 0x04;
}
int ExtensionDescriptor::getExtendedDataFlag() const {
return extended_data_flag;
}
int ExtensionDescriptor::getExtensionDescriptorTag() const {