Assertion failure after merging D060

What version / commit were you testing with?

fda68b77

What steps will reproduce the problem?

  1. Build with asserts turned on:
cmake ../avm -DAOM_EXTRA_C_FLAGS=-UNDEBUG -DAOM_EXTRA_CXX_FLAGS=-UNDEBUG && make -j
  1. Test:
./test_libaom --gtest_filter=AV1/QMTest.TestNoMisMatchQM1/1

What is the expected output?

Success

What do you see instead?

test_libaom: avm/av1/encoder/rdopt.c:3310: get_drl_refmv_count: Assertion `ref_idx == 0' failed.

Please use labels and text to provide additional information.

See all failures here: https://gitlab.com/AOMediaCodec/avm/-/pipelines/936019410