fix recursive match frame counting bug
This commit is contained in:
parent
7d0567d8a2
commit
3f3de1e08c
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue