This fixes some commented-out code, and converts it into assertions that get enabled with OD_ENABLE_ASSERTIONS. It also starts calling od_mv_est_check_rd_state() when assertions are enabled, even if logging is not, and adds assertions to each of the failure cases.
This makes it easier to sanity-check the MV search without having to enable OD_LOG_MODULES=motion-estimation:4 or higher.
50f9515 Fix some MV debugging code and add more asserts.
src/mcenc.c | 50 +++++++++++++++++++++++++++-----------------------
1 file changed, 27 insertions(+), 23 deletions(-)
Upstream: git.xiph.org