diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-25 22:21:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-10-26 19:46:00 +0200 |
commit | e936c8d176efd1a0a41e22df24564b1178c79ea9 (patch) | |
tree | d88f46c4711488323caac0907280d67e9dcdb26a /tests/audiogen.c | |
parent | d88a6bedb9bc51eff35578a0b08d1088ee53bcda (diff) | |
download | ffmpeg-e936c8d176efd1a0a41e22df24564b1178c79ea9.tar.gz |
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: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/audiogen.c')
0 files changed, 0 insertions, 0 deletions