Skip to content

qtmux: Protect against writing absurd sample durations

If the input DTS goes backward or is missing, the calculated sample duration goes negative and wraps around to a very big number. In that case, just write a sample with a duration of 0 and hope the problem is transient.

Merge request reports

Loading