Fix mode selection infinite loop bug
Mode selection for SBs could enter an infinite loop because the interpolation filter mode index was not being reset correctly. Change-Id: I4bbe726f29ef5b6836e94884067c46084713cc11
This commit is contained in:
parent
c6ba3a3d85
commit
81d1171fd4
@ -4605,6 +4605,7 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
|
||||
// Test best rd so far against threshold for trying this mode.
|
||||
if (best_rd <= cpi->rd_threshes[mode_index] ||
|
||||
cpi->rd_threshes[mode_index] == INT_MAX) {
|
||||
switchable_filter_index = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user