diff options
author | Mans Rullgard <mans@mansr.com> | 2011-10-08 02:16:29 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-10-11 14:42:28 +0100 |
commit | 88d1e2b2b0a129365a62efd666db0394e8ffbe08 (patch) | |
tree | 8e4e3332f3d7d863325e4e0412a32d0a633dcb8e /libavcodec/mpegaudiodecheader.h | |
parent | 30c3d976f12665d5d13971172aab062a97cb1bce (diff) | |
download | ffmpeg-88d1e2b2b0a129365a62efd666db0394e8ffbe08.tar.gz |
intfloat_readwrite: fix signed addition overflows
These additions might overflow the signed range for large
input values. Converting to unsigned before the addition
rather than after avoids such undefined behaviour. The
result under normal two's complement wraparound remains
unchanged.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mpegaudiodecheader.h')
0 files changed, 0 insertions, 0 deletions