mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 10:04:37 +08:00
tests/checkasm/sw_ops: eliminate unneeded overflow check
Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas <git@haasn.dev>
This commit is contained in:
1 parent
3743d2851d
commit
d04f7b17c7
1 file changed
+1
-1
@@ -291,7 +291,7 @@ static void check_ops(const char *name, const unsigned ranges[NB_PLANES],
|
||||
oplist.comps_src.min[p] = (AVRational64) { 0, 1 };
|
||||
break;
|
||||
case F32:
|
||||
if (ranges[p] && ranges[p] <= INT_MAX) {
|
||||
if (ranges[p]) {
|
||||
oplist.comps_src.max[p] = (AVRational64) { ranges[p], 1 };
|
||||
oplist.comps_src.min[p] = (AVRational64) { 0, 1 };
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user