]> git.sesse.net Git - ffmpeg/commit
avutil/common: Implement av_sat_add64_c() with fewer branches
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 19 Oct 2020 08:20:26 +0000 (10:20 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 24 Oct 2020 17:11:12 +0000 (19:11 +0200)
commit4e9514e99bf77bb3d1437e992c3e08ca7d1ebc46
tree7a0d701625955ceae0da0837c8eae04ba3fee7a8
parentbca0735be52e471b1906aed34c60028d90646d90
avutil/common: Implement av_sat_add64_c() with fewer branches

No benchmark because this is not used in any speed relevant pathes nor is it
used where __builtin_add_overflow is available.
So I do not know how to realistically benchmark it.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/common.h