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-01 18:58:10 +0200 |
commit | b6546add07d428320e74217d79decfabb86f173b (patch) | |
tree | ac969be0e953bcc3dea31b4ce03baad094116988 /libavcodec/x86/dcadsp_init.c | |
parent | 8e12af29d1a3f95c9e952d78354e3c8b1c0431a8 (diff) | |
download | ffmpeg-b6546add07d428320e74217d79decfabb86f173b.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 'libavcodec/x86/dcadsp_init.c')
0 files changed, 0 insertions, 0 deletions