Skip to content
Snippets Groups Projects
Commit 0d5ec5b9 authored by Arnaud Vrac's avatar Arnaud Vrac Committed by Tim-Philipp Müller
Browse files

tsdemux: fix M2TS stream resync

Sync byte scan is incorrect for M2TS streams because the timestamp 4
bytes were not included in the flush size. This can result in an
infinite loop.

Rework the scan code to be clearer and work in all cases.
parent 3f00ca35
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment