aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/intmath.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-24 03:14:00 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-03 13:48:05 +0200
commitb9b845e98a6692ce85d7cfd51a8717817ee309a1 (patch)
tree071c5c64cdd28ee2700093408ef416863a51f8b9 /libavutil/intmath.h
parent7b80a7e498286a7aaf1e58f66783ea367f49849c (diff)
downloadffmpeg-b9b845e98a6692ce85d7cfd51a8717817ee309a1.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 'libavutil/intmath.h')
0 files changed, 0 insertions, 0 deletions