Enable ext-refs as default
Fixed a couple of compiling warnings when the "deep" analyzer is on.
Change-Id: I96842e8226f1993a1329217c0dbf4a081d0c94f9
diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c
index a24b79e..ca5780e 100644
--- a/av1/encoder/bitstream.c
+++ b/av1/encoder/bitstream.c
@@ -3911,11 +3911,11 @@
// (like RTC/temporal scalability).
return refresh_mask | (cpi->refresh_golden_frame << cpi->alt_fb_idx);
} else {
- int arf_idx = cpi->alt_fb_idx;
#if CONFIG_EXT_REFS
const GF_GROUP *const gf_group = &cpi->twopass.gf_group;
- arf_idx = cpi->arf_map[gf_group->arf_update_idx[gf_group->index]];
+ int arf_idx = cpi->arf_map[gf_group->arf_update_idx[gf_group->index]];
#else
+ int arf_idx = cpi->alt_fb_idx;
if ((cpi->oxcf.pass == 2) && cpi->multi_arf_allowed) {
const GF_GROUP *const gf_group = &cpi->twopass.gf_group;
arf_idx = gf_group->arf_update_idx[gf_group->index];