]> granicus.if.org Git - libvpx/commit
vp8/{ratectrl,onyx_if}: fix some signed integer overflows
authorJames Zern <jzern@google.com>
Sat, 21 Mar 2020 23:12:39 +0000 (16:12 -0700)
committerJames Zern <jzern@google.com>
Sat, 21 Mar 2020 23:19:04 +0000 (16:19 -0700)
commit5e065cf9d3c622b37eaaebf701d0be6371b890c3
treea6dfcf8cbee23affb00f7f1a543c8cf49d859668
parent5eab093a7bc48dab36f9e2a40f1dff0f39497839
vp8/{ratectrl,onyx_if}: fix some signed integer overflows

in calculations involving bitrate in encode_frame_to_data_rate() and
vp8_compute_frame_size_bounds()

note this isn't exhaustive, it's just the result of a vpxenc run with:
-w 800 -h 480 --cpu-used=8 --rt --target-bitrate=1400000000

Bug: b/151945689
Change-Id: I3a4f878046fcf80e87482761588c977c283ae917
vp8/encoder/onyx_if.c
vp8/encoder/ratectrl.c