PES parsing fails with out of range index
Hakkin opened this issue · comments
Hakkin Lain commented
Using the provided example program in master, I get an error trying to dump PES info.
ERRO[0000] astits: fetching data failed: astits: getting next data failed: astits: building new data failed: astits: parsing PES data failed: astits: getting next bytes failed: astits: slice length is 15922, offset 15935 is invalid
This seems to have broke @8d58895.
Here's an example ts that triggers this if you need it.
The command I'm running is astits data -d all -i test.ts
Quentin Renard commented
First off, thanks for providing an example file 👍
Second, was everything working before 8d58895?
Hakkin Lain commented
Yes, I checked out @f5a59e8 and the same command works fine.
Quentin Renard commented
Never mind, there was indeed a problem. Should be all good now!
Can you confirm?
Hakkin Lain commented
Yes, that seems to have fixed it. Thanks for the quick patch!
Quentin Renard commented
Cheers