aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudio_parser.c
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-01 21:32:50 +0200
commit2b2358f595523ab916d1e437d52e01f463afcc00 (patch)
treea5f3550f4cf9eaf23357b879e56bb57d54c83915 /libavcodec/mpegaudio_parser.c
parent5daaa64d8ae1b6d95c99998dbdf19e9d94f0abe0 (diff)
downloadffmpeg-2b2358f595523ab916d1e437d52e01f463afcc00.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/mpegaudio_parser.c')
0 files changed, 0 insertions, 0 deletions