Commit 9065da98 authored by Adrian Grange's avatar Adrian Grange Committed by Gerrit Code Review

Merge "Free motion vector array before re-allocating"

parents 7cb7588b 979ee6e4
......@@ -2476,6 +2476,7 @@ void vp9_scale_references(VP9_COMP *cpi) {
if (cm->frame_bufs[new_fb].mvs == NULL ||
cm->frame_bufs[new_fb].mi_rows < cm->mi_rows ||
cm->frame_bufs[new_fb].mi_cols < cm->mi_cols) {
cm->frame_bufs[new_fb].mvs =
(MV_REF *)vpx_calloc(cm->mi_rows * cm->mi_cols,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment