]> granicus.if.org Git - libx264/commit
Fix undefined behavior: index out of bounds (one more)
authorAnton Mitrofanov <BugMaster@narod.ru>
Sat, 25 Apr 2020 23:56:25 +0000 (02:56 +0300)
committerAnton Mitrofanov <BugMaster@narod.ru>
Wed, 10 Jun 2020 15:07:03 +0000 (18:07 +0300)
commit538f09b5b92eda0b6efe25e62fcc8542fc9f025d
treefa7d82f643a36e829ab64c6eed2f452f7ae3fa6b
parent526b6b5488fb3bf45b3838007e1da593b1fb409b
Fix undefined behavior: index out of bounds (one more)

last_non_b_pict_type is initialized to -1.
Bug report by Vitaly Buka.
encoder/ratecontrol.c