diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-24 03:14:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-03 16:14:47 +0200 |
commit | 35557942bf51b78b2932d2c9f57ae41c0bc4b41d (patch) | |
tree | a096cdcf5e79e4d81fda30fa6eae4565cd437c2c /tests/api/api-threadmessage-test.c | |
parent | 852e1978e4bf9463d79bf8ae064d91a20317dfe4 (diff) | |
download | ffmpeg-35557942bf51b78b2932d2c9f57ae41c0bc4b41d.tar.gz |
avformat/aviobuf: Don't check for overflow after it happened
If adding two ints overflows, it doesn't matter whether the result will
be stored in an unsigned or not; and checking afterwards does not make it
retroactively defined.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 28a078eded1c29985ed078b59d48ff59cf00394b)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/api/api-threadmessage-test.c')
0 files changed, 0 insertions, 0 deletions