]> granicus.if.org Git - libvpx/commit
Fix the bug for feature_score computation
authorAngie Chiang <angiebird@google.com>
Fri, 8 Feb 2019 18:25:56 +0000 (10:25 -0800)
committerAngie Chiang <angiebird@google.com>
Wed, 13 Feb 2019 19:10:48 +0000 (11:10 -0800)
commit36f42a3769e6f15ca4b9bd64d1bc26311ef588a5
treeadc546e18874a409d547ce6129c54b9cc81b9a82
parente2381829e984c58e54a7ad0580c168cb7432ef92
Fix the bug for feature_score computation

The visited is not set to 1 after an item is pushed into the heap.
This may cause one item being pushed into the heap multiple
times, which may incur buffer overflow and memory corruption.

Change-Id: I443f1e5693856bb4066542403f98492d4daec69d
vp9/encoder/vp9_encoder.c