diff options
Diffstat (limited to 'libs/fst')
-rw-r--r-- | libs/fst/fstapi.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/fst/fstapi.cc b/libs/fst/fstapi.cc index 3ceafb109..0b8f49146 100644 --- a/libs/fst/fstapi.cc +++ b/libs/fst/fstapi.cc @@ -5198,6 +5198,15 @@ int fstReaderIterBlocks2(void *ctx, } previous_time = time_table[i]; } + } else { + if (time_table[i] != previous_time) { + if (xc->limit_range_valid) { + if (time_table[i] > xc->limit_range_end) { + break; + } + } + previous_time = time_table[i]; + } } while (tc_head[i]) { |