ref: e00c00b48eae8aa6e4858f2a80189d6db3238345
parent: 51b4601dd22b9e2086180d096fba463df1ed70a6
parent: 51a47b0c723aba3f75315d760afe767b08a37cb9
author: Wan-Teh Chang <wtc@google.com>
date: Mon Oct 8 15:07:02 EDT 2018
Merge "Correct a for loop in init_ref_frame_bufs."
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -4910,6 +4910,8 @@
cm->new_fb_idx = INVALID_IDX;
for (i = 0; i < REF_FRAMES; ++i) {
cm->ref_frame_map[i] = INVALID_IDX;
+ }
+ for (i = 0; i < FRAME_BUFFERS; ++i) {
pool->frame_bufs[i].ref_count = 0;
}
}