Skip to content

Conversation

@stanislavpetkov
Copy link
Contributor

Hi,

I have found a bug in SCTE35, segmentation descriptor parser
It always expect to have sub_segment_num and sub_segments_expected.

According to scte 35 - 2022b 10.3.3.1
Note: sub_segment_num and sub_segments_expected can form an optional appendix to the segmentation descriptor. The presence or absence of this optional data block is determined by the descriptor loop’s descriptor_length.

I also found that you don't have time_descriptor for scte35, so I added one.

As attachment - the packet that gives the error

NUT_scte35-test_packet.zip

@EricBerendsen
Copy link
Owner

Thank you very much for this PR.

@EricBerendsen EricBerendsen merged commit 73520da into EricBerendsen:master Oct 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants