Skip to content
Snippets Groups Projects
Commit e936c8d1 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avformat/utils: Discard huge timestamps which would cause overflows if used in basic computations


Allowing larger timestamps makes it impossible to calculate basic things like the
difference of 2 timestamps or their sum without checking each individual computation for
overflow.
This should avoid a significant number of overflow checks

Fixes Ticket5136

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent d88a6bed
No related branches found
No related tags found
No related merge requests found
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