fix recursive match frame counting bug

This commit is contained in:
wbcbz7 2024-06-07 15:11:22 +07:00
parent 7d0567d8a2
commit 3f3de1e08c

View file

@ -39,9 +39,9 @@ static match_info_t test_match(
if ((dst->frames_to_play == 0) || (nested_match.logic_frames != dst->frames_to_play)) break; else {
// add this backref to match count
dstpos++;
srcpos += nested_match.logic_frames;
srcpos += nested_match.total_frames;
rtn.logic_frames++;
rtn.total_frames += nested_match.logic_frames;
rtn.total_frames += nested_match.total_frames;
}
}
else {