Changeset 9f353e37 in ffmpeg

Timestamp:
Oct 6, 2019, 9:28:29 AM (5 years ago)
Author:
Jun Zhao <barryjzhao@tencent.com>
Branches:
master
Children:
b0e68224
Parents:
3b4e9a31
git-author:
Mengye Lv <mengyelv@tencent.com> (10/02/19 02:30:45)
git-committer:
Jun Zhao <barryjzhao@tencent.com> (10/06/19 09:28:29)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.