Skip to content

Commit

Permalink
Fix PID of NULL packet to provide segment information
Browse files Browse the repository at this point in the history
  • Loading branch information
xtne6f committed Mar 19, 2024
1 parent 5dc8323 commit b8b4673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsmemseg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ void WriteSegmentHeader(std::vector<uint8_t> &buf, uint32_t segCount, bool isMp4
{
// NULL TS header
buf[0] = 0x47;
buf[1] = 0x01;
buf[1] = 0x1f;
buf[2] = 0xff;
buf[3] = 0x10;
WriteUint32(&buf[4], segCount);
Expand Down

0 comments on commit b8b4673

Please sign in to comment.