Merge "Refactor: Localize tmp_rd in handle_inter_mode()" into nextgenv2