mptsd icon indicating copy to clipboard operation
mptsd copied to clipboard

Remove padding from the input buffer

Open lars18th opened this issue 6 years ago • 1 comments

When reading from an input, if the packet is padding then discard it and continue reading.

lars18th avatar Jun 19 '18 16:06 lars18th

Hi,

The first commit has an error, because the MIX thread reads from the input buffer and not from the stream. And the input buffer has out NULL packets when reading. Sorry, it's my fault!

However, this patch refuses to put unknown packets (pid > 0x1fff) in the input buffer. This makes the tool more tolerable with sources containing transmission errors.

lars18th avatar Jun 21 '18 10:06 lars18th