Skip to content
Snippets Groups Projects
Commit a6d8f545 authored by Frank Bossen's avatar Frank Bossen
Browse files

Avoid accessing out of bounds elements

When pruned == false and currCnt == MAX_NUM_HMVP_CANDS,
memmove() copied element motionCand[MAX_NUM_HMVP_CANDS] which is
out of bounds. With this fix one fewer elements is copied.
The element that was previously incorrectly copied was overwritten
by memcpy(). Hence there is no change in the result.
See also #113
parent 35b81484
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment