diff options
author | Mengye Lv <mengyelv@tencent.com> | 2019-10-02 10:30:45 +0800 |
---|---|---|
committer | Jun Zhao <barryjzhao@tencent.com> | 2019-10-06 17:28:29 +0800 |
commit | 9f353e376b161eb16a78fd7ad727c9513ac60d13 (patch) | |
tree | 85e244d587f62b95cfeb2c1265bd9f231fd9320d /libavcodec/eaidct.h | |
parent | 3b4e9a31ea263830d6dfbc402c02e3c8d017094f (diff) | |
download | ffmpeg-9f353e376b161eb16a78fd7ad727c9513ac60d13.tar.gz |
avutil/common: Fix underflow for ROUNDED_DIV with unsigned integer
When used ROUNDED_DIV(a,b), if a is unsigned integer zero, it's
will lead to an underflow issue(it called unsigned integer
wrapping).
Fixes #8062
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Mengye Lv <mengyelv@tencent.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavcodec/eaidct.h')
0 files changed, 0 insertions, 0 deletions