Fixed small TS stream lib bug
This commit is contained in:
parent
a191a77689
commit
e495249147
1 changed files with 1 additions and 0 deletions
|
@ -614,6 +614,7 @@ namespace TS{
|
|||
buildPacket[tid].appendNal(pesPayload, nalSize, nalSize);
|
||||
}
|
||||
|
||||
if (((nextPtr - pesPayload) + 3) >= realPayloadSize){return;}//end of the line
|
||||
realPayloadSize -= ((nextPtr - pesPayload) + 3); // decrease the total size
|
||||
pesPayload = nextPtr + 3;
|
||||
nextPtr = nalu::scanAnnexB(pesPayload, realPayloadSize);
|
||||
|
|
Loading…
Add table
Reference in a new issue