Skip to content
Snippets Groups Projects
Commit cd8bb641 authored by Jan Schmidt's avatar Jan Schmidt Committed by Tim-Philipp Müller
Browse files

tsdemux: Limit the maximum PES payload size

PES packets with size 0 are unbounded, and
could therefore overflow the 32-bit size
accumulator.

Add a 32MB limit, which is larger than
any PES packet should ever get. If one does,
then output a 32MB chunk and continue.
parent 1bf81982
No related branches found
No related tags found
1 merge request!639Backport of "tsdemux: Limit the maximum PES payload size" into 1.16
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